Can you deduct your home office on your taxes? It's not just 'if.' The key is the 'why'.

Many Americans may think that because they work from home, they can take tax deductions for a portion of their rent, utilities and more. Not so fast.

Not everyone qualifies to do that. Wage employees who choose to work from home take on the full weight of their related expenses, tax experts say.

The 2017 Tax Cuts and Jobs Act eliminated unreimbursed itemized deductions for employees, and Congress never brought them back despite a surge in people working from home. The rule runs through 2025, said Eric Scaringe, principal at certified public accounting firm UHY.

Need to know: When is Tax Day 2024? Deadlines for filing tax returns, extensions and what you need to know

Among employed adults who have a job that can be done from home, 75% are working remotely at least some of the time, according to Pew Research Center. Nearly half of them (46%) say that if their employer no longer allowed them to work from home, they would be unlikely to stay at their current job. Despite all that work at home, most of them likely aren't eligible for any home office deductions.

So who can take home office deductions?

Home office deductions only apply to small business owners who are self-employed. If you do freelance work unrelated to your regular job at home, you might qualify. The rules are strict, though, and calculating your deductions can be complicated.

Here’s a step-by-step guide for figuring out if you qualify for deductions and if so, what to consider in your calculations:

Who qualifies for home office deductions?

Generally, if you receive a W-2 wages tax document, you’re not eligible unless you also have a side gig that you do from home - at least on the federal level.

"Some states might allow you to take some deductions," said Mark Jaeger, vice president of tax operations at preparer TaxAct.

Pennsylvania and New York, for example, allow employees to deduct some unreimbursed expenses. Check your state's rules.

Self-employed: If you're self-employed and use your home office exclusively and regularly for that work, you may be able to deduct from your federal taxes a portion of home-related expenses, such as mortgage interest, property taxes, homeowners' insurance, and utilities.

But be mindful of details, experts say.

“If you work on your dining table, you can't deduct that because it’s not used exclusively for work,” said Therese Tippie, EP Wealth Advisors’ tax manager and financial planner. “But you could purchase a desk and have it in a corner of your house and if that’s used exclusively and regularly for work, you can deduct that space.”