< Back to IRS

Diego Vargas

Capital gains tax implications after moving from Maryland to Tennessee

Hi everyone, I'm trying to figure out my tax situation regarding some investments I sold recently. I'm 22 and just moved from my parents' house in Maryland to an apartment in Tennessee about two months ago. I work remotely for a tech company, and I've been building a small investment portfolio over the last couple years. Last month, I sold some stocks that I've held for about 18 months and made around $6,200 in capital gains. I'm completely confused about how to handle this on my taxes since I lived in Maryland when I bought the stocks but now live in Tennessee. Do I pay Maryland state taxes on these gains? Tennessee taxes? Both? I've heard Tennessee doesn't have income tax but does that apply to capital gains too? My company is based in California, if that matters for anything. I updated my address with them when I moved, but I'm not sure if that affects how my capital gains are taxed. This is the first time I've dealt with investments and moving states in the same tax year, and I'm honestly pretty lost. Any advice would be super appreciated!

You're asking a great question about a somewhat complicated situation! The good news is that capital gains taxation when moving between states isn't as confusing as it seems once you understand the basics. For federal taxes, your capital gains will be reported on your federal return regardless of where you live. Since you held the investments for more than a year (18 months), they'll be taxed at the long-term capital gains rate, which is currently 0%, 15%, or 20% depending on your income level. At 22 and just starting out, you might qualify for the 0% rate if your total taxable income is under the threshold. For state taxes, it gets a bit more complicated. Maryland does tax capital gains as regular income. However, Tennessee doesn't have an income tax or capital gains tax for individuals (they phased out their last investment income tax in 2021). You'll likely need to file a part-year resident return for Maryland, reporting the income you earned while living there. The capital gains would typically be allocated based on your residency status when you realized the gains (when you sold the stocks). Since you sold them after moving to Tennessee, they might not be subject to Maryland tax, but Maryland's specific rules would determine this. Your California-based employer doesn't affect how your capital gains are taxed - that's based on your personal residency, not your employer's location.

0 coins

StarStrider

•

Wait, so if I understand correctly, if OP sold the stocks after establishing residency in Tennessee, they might not owe any state tax on those gains at all? That seems too good to be true. Doesn't Maryland try to tax you if you bought the stocks while living there? Also, what proof would they need to show they were officially a Tennessee resident when they sold?

0 coins

You've got the general idea right. For most states, capital gains taxes are based on where you're a resident when you realize the gains (sell the investments), not where you were when you bought them. So if OP was truly a Tennessee resident when selling, those gains might escape state taxation altogether. Maryland, like most states, determines tax residency based on various factors including physical presence, permanent home, and intent. To solidify Tennessee residency, OP should have documentation like a lease agreement, Tennessee driver's license, voter registration, and bank accounts with the Tennessee address. The more connections severed with Maryland and established in Tennessee, the clearer the case for Tennessee residency.

0 coins

Sean Doyle

•

After reading about your situation, I wanted to share something that might help. I was in a similar position last year when I moved from New York to Florida and had to deal with capital gains across state lines. I was getting conflicting advice until I discovered taxr.ai (https://taxr.ai) which analyzed my documents and gave me clear guidance. For me, the problem was proving exactly when I established residency in my new state to determine which gains would be taxed where. I uploaded my lease, driver's license, and investment statements to taxr.ai and got specific advice about handling my part-year state returns. It showed me exactly which transactions fell under which state's tax rules based on my timeline. Made the whole process much less stressful!

0 coins

Zara Rashid

•

How does the service handle the domicile vs residency distinction? I've heard some states like Maryland are aggressive about claiming you're still domiciled there even if you've physically moved to another state.

0 coins

Luca Romano

•

Does taxr.ai actually interact with your state tax departments or just give you guidance that you then have to implement yourself? I'm skeptical about how much help an AI tool can actually provide with something this specific.

0 coins

Sean Doyle

•

The service is actually quite sophisticated with domicile vs residency distinctions. It asks detailed questions about your specific situation and analyzes the legal requirements for both states involved. For Maryland specifically, it flagged certain "domicile factors" that are known to trigger scrutiny and helped me document evidence to support my case for changing domicile. The service doesn't interact directly with tax departments - it analyzes your situation and documents, then provides specific guidance on how to file correctly. It gave me step-by-step instructions for completing the relevant state tax forms and identified which supporting documents I should keep on file in case of questions. It was way more helpful than the generic advice I was finding online.

0 coins

Luca Romano

•

Okay, I was skeptical about taxr.ai but decided to try it with my similar situation (moved from California to Nevada mid-year with stock sales). I was honestly surprised by how helpful it was! The document analysis feature immediately flagged that my brokerage statements still had my California address when I sold some shares, which could have caused problems proving my residency timeline. The advice was super specific - even told me exactly which California form to use for part-year residents and which line items would be affected by my capital gains. Saved me so much research time and potentially an audit headache! They even explained how the Nevada residency rules differed from California's and what documentation would best support my case if questioned.

0 coins

Nia Jackson

•

For anyone dealing with state tax issues like this, another huge headache is actually getting through to someone at the state tax department who can answer your specific questions. I spent WEEKS trying to reach someone at the Maryland Comptroller's office last year for clarification on a similar residency question. After getting nowhere with endless hold times, I tried Claimyr (https://claimyr.com) and it completely changed the game. Their service called the Maryland tax office for me and navigated through all the phone menus, then called me when they had a real person on the line. You can see how it works in this video: https://youtu.be/_kiP6q8DX5c It saved me literally hours of hold time and frustration. The Maryland tax rep I spoke with gave me the exact guidance I needed about reporting out-of-state capital gains after moving. Definitely worth it during tax season when the wait times are ridiculous.

0 coins

How exactly does this work? Do they just wait on hold for you? What happens if you're not available when they finally get through? Seems like it would be easy to miss the callback.

0 coins

CosmicCruiser

•

This sounds like BS. Why would I pay for someone else to call the IRS or state tax dept for me? They're just sitting on hold instead of you. And I bet they charge a fortune for this "service." Has anyone actually verified this works?

0 coins

Nia Jackson

•

They use a system that waits on hold for you and monitors the call. When they detect a human has picked up, they immediately call your number and connect you to the live agent. You set your availability window when you schedule the call, and you can reschedule if needed. I definitely understand the skepticism - I felt the same way! But after wasting 3+ hours on multiple calls and never reaching anyone, I figured it was worth trying. They don't charge unless they successfully connect you to a representative, and the time savings was genuinely worth it to me. The service is especially valuable for state tax departments like Maryland's where the hold times can be unpredictable and frequently exceed an hour during busy periods.

0 coins

CosmicCruiser

•

I have to eat my words from my previous comment. After another frustrating morning of being disconnected twice by the Maryland tax line after 45+ minute holds, I tried Claimyr out of desperation. It actually worked exactly as advertised - I got a call back about an hour later with a real Maryland tax agent on the line. The agent confirmed that since I sold my stocks after establishing residency in my new state, Maryland wouldn't tax those specific gains. But she also warned me about maintaining too many ties to Maryland (like keeping my old doctor or having Maryland bank accounts), which could trigger them to consider me still a Maryland resident for tax purposes. This was exactly the clarification I needed and saved me potential tax issues. Really surprised this service exists and works. Definitely using it again next time I need to call any government office with notorious hold times.

0 coins

Aisha Khan

•

Something nobody's mentioned yet - make sure you're keeping track of the COST BASIS of your investments properly! This matters way more than the state tax situation for most people. When I moved states, I was so focused on the state tax part that I almost forgot to properly account for some reinvested dividends in my cost basis. Would have overpaid by like $800! Make sure your brokerage has the correct purchase dates and amounts for everything you sold. Sometimes when you transfer investments between brokers during a move, this information can get messed up. Double-check their reported cost basis against your records before filing.

0 coins

Diego Vargas

•

Thanks for bringing this up! I just checked my brokerage statements and realized they're showing a different purchase date than what I have in my records for some of my sales. Is there a specific form I need to file if their cost basis information is wrong?

0 coins

Aisha Khan

•

You'll want to fill out Form 8949 (Sales and Other Dispositions of Capital Assets) with your corrected information. On this form, you'll check box C in Part I or II (depending on if it's short or long-term) which indicates you're reporting transactions with adjusted basis. For each incorrect transaction, you'll enter the correct basis in column (e), and then put the adjustment amount in column (g) with code B, which indicates that the basis reported to the IRS is incorrect. Keep all your supporting documentation that proves the correct basis in case of questions later. Most tax software will walk you through this process if you indicate the 1099-B information needs correction.

0 coins

Ethan Taylor

•

Just want to add a important warning: if you worked remotely for your California company while living in Maryland, you might have Maryland AND California income tax obligations for that portion of the year! California is super aggressive about taxing remote workers of CA companies. When you moved to TN, make sure you formally notified your employer of your new address and had them update your state tax withholding. Check your recent paystubs to confirm they're no longer withholding Maryland or California taxes.

0 coins

Yuki Ito

•

Wait, that doesn't sound right. I worked remotely for a California company while living in Colorado and only paid Colorado taxes. You pay income taxes based on where YOU physically are when performing the work, not where the company is headquartered.

0 coins

Carmen Lopez

•

@23 is correct. California only tries to tax you if you're physically working IN California. They can't tax you just because the company is based there. That would be ridiculous - imagine if every remote worker had to pay taxes in their company's state plus their own!

0 coins

Asher Levin

•

Hey Diego! As someone who recently went through a similar multi-state move situation, I wanted to share a few practical tips that might help you navigate this. First, definitely gather all your documentation showing when you established Tennessee residency - lease agreement, driver's license change date, voter registration, etc. This timeline will be crucial for determining which state has taxing rights on your capital gains. Since you mentioned you're 22 and just starting out, there's a good chance your total income might qualify you for the 0% federal long-term capital gains rate (currently applies if your taxable income is under $47,025 for single filers in 2024). That could save you a significant amount on the federal side. For the state piece, you'll likely need to file as a part-year resident in Maryland for the period you lived there, but the capital gains realized after establishing Tennessee residency should escape state taxation entirely since Tennessee doesn't tax capital gains. One thing I'd recommend is keeping detailed records of when you physically moved, when you changed your address with various institutions, and especially when you updated your information with your brokerage. The timing of these changes relative to when you sold your stocks will matter if either state questions your residency status. Also, double-check that your brokerage has your current Tennessee address on file - you don't want tax documents being sent to your old Maryland address next year!

0 coins

IRS AI

Expert Assistant
Secure

Powered by Claimyr AI

T
I
+
20,095 users helped today