How to determine cost basis when selling stocks that were gifted to me?
I received just under $22k worth of stocks as a gift to help me buy a car. During the time I held them, the stocks increased in value by about $2000 before I sold everything to make the vehicle purchase. I know gifts under $17k don't need to be reported to the IRS, but since I sold the stocks, I got a 1099-B form. Here's the issue - the 1099-B shows the cost basis from when my relative originally purchased these stocks like 10 years ago. Because of this, it looks like I have gains of around $16k instead of just the $2000 that it increased while I owned it. The only solution I've found is to manually override the cost basis on my tax software and enter the value from when I actually received the stocks as a gift, rather than using what's on the 1099-B. But I'm worried this might cause problems since the numbers won't match what was reported. I've always done my own taxes online and don't really want to pay someone just to answer this one question. Has anyone dealt with this before? Will the IRS flag this if the numbers I enter don't match the 1099-B? Any advice would be appreciated!
30 comments


Mateo Sanchez
You've actually identified the correct approach. For gifted stock, the cost basis depends on whether the stock's value went up or down since the original owner purchased it. Since the stock went up in value, your cost basis is the same as the original owner's cost basis (which explains why your 1099-B shows the low original purchase price). However, when you file your taxes, you need to show this is a gift by checking the appropriate box on your tax form. If you're using tax software, look for an option that indicates this was a gifted security. The software should handle it properly. You'll need to keep documentation showing when you received the gift and its fair market value on that date, just in case of an audit. When you file, you'll use Form 8949 to report the sale, and you'll check box "E" to indicate the 1099-B doesn't show the correct basis. This is common with gifted securities.
0 coins
Nia Wilson
•Thanks for your response! So even though the fair market value when I received the gift was much higher than the original purchase price, I still have to use the original cost basis? That doesn't seem fair since I only benefited from the $2000 increase that happened while I owned the stock. Will checking that box on Form 8949 prevent me from getting flagged for audit even though my numbers will be different from what's on the 1099-B? I'm really trying to avoid issues with the IRS.
0 coins
Mateo Sanchez
•Yes, unfortunately that's how the tax law works with appreciated gifted stock - you inherit the original owner's cost basis. The entire gain from original purchase to when you sold is taxable to you, not just the portion while you owned it. Checking box E on Form 8949 tells the IRS you're reporting a transaction where the basis on your 1099-B isn't correct. This doesn't prevent an audit, but it properly identifies why your numbers differ from what was reported to the IRS. Keep documentation about when you received the gift and its value at that time in case you need to explain the situation.
0 coins
Aisha Mahmood
I was in a similar situation last year and used https://taxr.ai to help sort out my cost basis issues with some gifted stocks my parents gave me. The platform analyzed my 1099-B and told me exactly how to handle the situation. What's cool is they explained that with gifted stock, you basically "inherit" the original owner's cost basis if the stock has appreciated since they bought it. So even though it seems unfair, the original purchase price becomes your cost basis - not the value when you received it. The system also walked me through how to properly indicate this on Form 8949 and check the right boxes so the IRS wouldn't flag it. Saved me from potentially making a huge mistake on my taxes.
0 coins
Ethan Clark
•Did the service tell you anything about the holding period? Like does that transfer too? I've got some stocks my grandma gave me and I'm not sure if I should be reporting short-term or long-term gains when I sell.
0 coins
AstroAce
•I'm skeptical that an AI tool could really help with something this specific. Did you have to upload your actual 1099-B or could you just describe your situation? Seems like this is the kind of thing you'd need a real tax professional for.
0 coins
Aisha Mahmood
•Yes, they explained that for gifted stock, you actually inherit both the cost basis AND the holding period. So if your grandma held the stock for years before gifting it to you, you get credit for that time. Even if you only held it for a month before selling, you could qualify for long-term capital gains treatment if the total holding period exceeds one year. You can either upload your documents or describe your situation - I did both to be sure. The AI analyzes tax documents incredibly well, but I also typed out my specific concerns. It gave me specific IRS references and walked me through the exact forms and boxes I needed to complete. Much more detailed than the generic advice I got elsewhere.
0 coins
Ethan Clark
Just wanted to update that I tried taxr.ai after seeing it mentioned here. Super helpful! I uploaded my 1099-B and explained my gifted stock situation, and it confirmed everything about how the cost basis works with gifts. The site explained that I needed to use the original owner's basis since the stock appreciated, but it also showed me exactly how to report it on Form 8949 with the right adjustment codes. It even generated language I could use if I needed to explain the situation to the IRS. Definitely check it out if you're struggling with this - it's way more affordable than paying a tax pro just for this one question!
0 coins
Yuki Kobayashi
Hey, I had a similar issue last year trying to figure out the right cost basis for some stocks my uncle gave me. I spent DAYS trying to get through to the IRS for clarification. Kept calling that 800 number and getting nowhere. Finally found https://claimyr.com and used their service to get through to an actual IRS agent. You can see how it works here: https://youtu.be/_kiP6q8DX5c Within about 15 minutes I was actually talking to someone who confirmed I needed to use the original owner's cost basis for appreciated stock gifts. The agent also walked me through exactly how to report it on my tax forms so it wouldn't trigger any flags or issues. Definitely worth it rather than stressing about whether you're doing it right or waiting on hold forever.
0 coins
Carmen Vega
•Wait, so this service somehow gets you to the front of the IRS phone queue? How does that even work? Sounds too good to be true.
0 coins
Andre Rousseau
•I don't buy it. There's no way to "skip the line" with the IRS. They're chronically understaffed and everyone has to wait. This sounds like a scam that takes your money and just puts you on hold like everyone else.
0 coins
Yuki Kobayashi
•It doesn't put you at the "front" of the queue - it automates the waiting process. Their system calls the IRS and navigates the phone tree, then holds your place in line. When it finally reaches an agent, you get a call back so you can take the call. You don't have to sit there listening to hold music for hours. They use technology to manage the waiting process so you don't have to. I was skeptical too, but it legitimately worked. I connected with an IRS agent after their system waited on hold for about 2 hours - but I only had to spend 15 minutes of my time actually talking. It's basically like having someone else wait in line for you.
0 coins
Andre Rousseau
I have to admit I was completely wrong about Claimyr. After posting my skeptical comment, I decided to try it myself since I needed to ask the IRS about some stock basis issues too. It actually works exactly as described. Their system called the IRS, waited through all the prompts and hold times (over 90 minutes!), and then called me when they got an agent on the line. I just picked up and was immediately talking to an IRS representative. The agent confirmed everything about gifted stock - that I inherit the original owner's basis if the stock appreciated, and I need to check box E on Form 8949 to explain why my numbers don't match the 1099-B. Seriously saved me hours of frustration.
0 coins
Zoe Stavros
One thing nobody's mentioned yet - if the stock had DECREASED in value between when the original owner bought it and when they gifted it to you, the rules are different. In that case, your basis for determining loss would be the fair market value at the time of the gift. It's only for gains that you use the original owner's basis. It gets really complicated if the stock was worth less than the original basis when gifted, but then increased in value when you sold it (but still below original basis). Look up the "dual basis" rules if that applies to you.
0 coins
Nia Wilson
•That's really helpful, thanks! In my case the stock definitely increased from when it was purchased originally, but good to know about these other scenarios. Does the IRS ever question these adjustments when we report them? Do I need any special documentation from the person who gave me the stocks?
0 coins
Zoe Stavros
•The IRS might question it if there's a significant discrepancy, which is why documentation is important. You should try to get the following from the gift giver: date they originally purchased the shares, their original cost basis, and the fair market value on the date you received the gift. If possible, get a written statement from them confirming these details. Keep records of any transfer documents or account statements showing when the shares moved to your account. The more documentation you have, the easier it will be to explain if questions arise.
0 coins
Jamal Harris
I'm confused about something. If gifts under $17,000 don't need to be reported, why do I have to pay taxes on the gains that happened before I even owned the stock? Seems like a weird loophole in the tax code.
0 coins
Mateo Sanchez
•The $17,000 annual gift exclusion just means the GIVER doesn't have to report the gift or pay gift tax on it. It doesn't exempt the RECEIVER from capital gains tax when they sell the asset. The tax code is designed to ensure all capital gains eventually get taxed. If the gifter sold the stock and gave you cash, they'd pay tax on all the gains. By giving you the stock instead, they're essentially transferring their tax obligation to you. That's why you inherit their cost basis.
0 coins
Fatima Al-Qasimi
This is a really common situation that trips up a lot of people! You're absolutely right that it feels unfair to pay taxes on gains that happened before you owned the stock, but unfortunately that's how the tax code works with appreciated gifts. A few key points to remember: - Yes, you must use the original owner's cost basis (what shows on your 1099-B) since the stock appreciated - You'll report this on Form 8949 and check box "E" to indicate the 1099-B basis isn't correct for your situation - Keep documentation of when you received the gift and its fair market value on that date - The good news is you also inherit the original owner's holding period, so if they held it long-term, you get long-term capital gains treatment The IRS sees this type of adjustment frequently with gifted securities, so as long as you properly indicate it on Form 8949 and have your documentation ready, you should be fine. Most tax software will walk you through this process once you indicate the stock was gifted to you. Don't let the fear of an audit stop you from reporting it correctly - the bigger risk is NOT properly adjusting for the gift situation!
0 coins
Marcus Williams
•This is really helpful, thank you! I'm new to dealing with gifted stock situations and this whole thread has been eye-opening. I had no idea that you inherit both the cost basis AND the holding period from the original owner. One quick question - when you say "keep documentation of when you received the gift and its fair market value," do I need to get this from the person who gave me the stock, or can I just look up the stock price on that date myself? I want to make sure I have everything properly documented in case the IRS asks questions later. Also, is there a specific form the gift giver should fill out, or is it just informal documentation between us?
0 coins
Zane Hernandez
•Great question! You can look up the fair market value yourself using the closing price on the date you received the gift - you don't need the giver to provide this. However, it's helpful to get some basic documentation from them confirming: 1. The date they originally purchased the stock 2. Their original cost basis (what they paid) 3. The date they transferred it to you There's no specific IRS form required for the gift itself (since it's under the $17K reporting threshold), but a simple written statement or email from the giver with these details can be very helpful. Some people also keep screenshots of their brokerage transfer confirmations. The key is being able to demonstrate the timeline and amounts if the IRS ever questions the basis adjustment. Most of the time they won't, but having this documentation gives you peace of mind and makes the whole process much smoother. @a05e8abdb230 covered all the main points perfectly - the Form 8949 reporting is really the critical piece here!
0 coins
AstroAlpha
I went through this exact same situation a few years ago and it's definitely confusing at first! The advice here is spot on - you do have to use the original owner's cost basis even though it feels unfair. One thing that helped me was thinking of it this way: when someone gifts you appreciated stock, they're essentially passing along their unrealized gains to you. The IRS wants to make sure those gains get taxed eventually, so they don't let the tax obligation disappear just because the stock changed hands as a gift. The Form 8949 reporting with box "E" checked is absolutely the right approach. I was nervous about it too, but my tax software guided me through it and I never heard anything from the IRS. Just make sure you keep good records - I saved an email from my dad confirming when he bought the original shares and when he transferred them to me. The silver lining is that you do get the benefit of their holding period, so if they held the stock for over a year, you'll qualify for long-term capital gains rates which are usually much better than short-term rates. That can save you quite a bit compared to if you had to pay ordinary income tax rates on the gains.
0 coins
Dana Doyle
•Thanks for sharing your experience! That's a really helpful way to think about it - the gifter is essentially passing along their unrealized gains. I've been stressed about this whole situation but hearing from people who've actually been through it makes me feel much better. Quick question about the holding period benefit you mentioned - does that apply even if the original owner held the stock in a different type of account? My relative had the shares in a regular brokerage account but transferred them to my Roth IRA. I'm wondering if that changes anything about inheriting their holding period or if I need to start fresh with my own timeline. Also really appreciate everyone mentioning the importance of keeping email records. I'm going to reach out to my relative today to get those details documented properly before I file my taxes.
0 coins
Victoria Stark
•That's a great question about the Roth IRA transfer! Unfortunately, when stocks are transferred into a retirement account like a Roth IRA, it's treated differently than a regular taxable gift. If your relative transferred the shares directly into your Roth IRA, that would actually be considered a contribution to your retirement account rather than a gift of securities. This means you wouldn't inherit their cost basis or holding period - instead, your basis in the Roth would be the fair market value on the date of the contribution. However, if they first gifted you the shares in a regular taxable account and then YOU chose to sell them and contribute the proceeds to your Roth, that's different - you'd still be subject to the gifted stock rules for the sale. The rules get pretty complex when retirement accounts are involved, so you might want to double-check with a tax professional or use one of the AI tools others mentioned to make sure you're handling this correctly. The contribution limits and other Roth IRA rules could also come into play depending on the amount involved.
0 coins
Zainab Abdulrahman
I just wanted to add one more perspective that might help ease your concerns about the IRS flagging your return. I work in tax preparation and see gifted stock situations regularly - they're much more common than you might think! The key thing to understand is that when you check box "E" on Form 8949 and make the basis adjustment, you're actually following proper IRS procedure. The tax software and forms are specifically designed to handle these situations. The IRS expects to see discrepancies between 1099-B forms and taxpayer-reported basis when gifts are involved. What would be more likely to cause problems is if you DIDN'T make the adjustment and just accepted the 1099-B numbers as-is, because then you'd be paying tax on gains that technically occurred while someone else owned the stock (even though that's still your legal obligation). A few practical tips: - Most major tax software (TurboTax, H&R Block, etc.) have specific workflows for gifted securities that will guide you through this - Keep a simple written record of the gift date and fair market value on that date - Don't overthink the documentation - a text or email from your relative confirming the basic details is usually sufficient You're on the right track, and this is definitely something you can handle yourself without paying for professional help!
0 coins
Logan Greenburg
•This is exactly the kind of reassurance I needed to hear from someone who works in tax preparation! I've been overthinking this whole situation and worrying about potential red flags, but it sounds like these adjustments are actually pretty routine. Your point about it being MORE problematic to NOT make the adjustment is really helpful - I hadn't thought about it that way. I was so focused on worrying about the numbers not matching the 1099-B that I didn't consider how wrong it would be to just accept those numbers. I'm definitely going to go with one of the major tax software options you mentioned. It's good to know they have specific workflows for this situation. I was considering trying to do it manually but having the software guide me through the process sounds much safer. Thanks for the practical advice about documentation too. I was starting to think I needed some kind of formal paperwork, but a simple email from my relative should be enough. I really appreciate you taking the time to share your professional perspective - it's made me feel much more confident about handling this correctly!
0 coins
Aisha Hussain
Just wanted to chime in as someone who went through this exact same situation last year! I received about $18k in gifted stocks from my grandmother and was completely confused when I got the 1099-B showing gains from like 15 years ago. After doing a lot of research and talking to a few people, I learned that this is actually super common and the IRS sees these types of basis adjustments all the time. The key things that helped me: 1. Don't panic about the numbers not matching - that's exactly what Form 8949 and box "E" are designed to handle 2. The tax software really does make this easier than trying to figure it out manually 3. Keep simple documentation but don't go overboard - I just saved a text from my grandma confirming when she bought the original shares The one thing I wish someone had told me earlier is that even though you have to pay tax on all the gains (including the ones from before you owned the stock), you also get the benefit of long-term capital gains rates if the original owner held it for more than a year. In my case, that saved me quite a bit compared to short-term rates. It definitely feels unfair at first, but once you understand the logic behind it (preventing tax avoidance through gifts), it makes more sense. You've got this!
0 coins
Mei Chen
•Thank you so much for sharing your experience! It's really reassuring to hear from someone who went through the exact same situation. I was starting to feel like I was the only one dealing with this confusion, but it sounds like gifted stock situations are actually pretty common. Your point about the long-term capital gains benefit is something I hadn't fully considered - that could definitely help offset some of the frustration of having to pay taxes on gains from before I owned the stock. Do you remember roughly how much the long-term vs short-term rate difference saved you? I'm trying to get a sense of whether that benefit might make this whole situation a bit less painful. Also, I love that you just kept a simple text from your grandma as documentation. I was overthinking the record-keeping aspect and wondering if I needed something more formal. A text message sounds much more manageable and probably just as effective for proving the basic details if the IRS ever asks. Thanks for the encouragement - hearing from people who've actually been through this process successfully definitely makes me feel more confident about handling it myself!
0 coins
Nathan Dell
•The long-term vs short-term difference can be pretty significant! In my case, I was in the 24% tax bracket, so short-term gains would have been taxed at 24%. But since I qualified for long-term treatment, I only paid 15% on the capital gains. On about $14k in gains, that saved me roughly $1,260. The exact savings depend on your income level and tax bracket, but for most people the long-term rates (0%, 15%, or 20%) are much better than ordinary income rates. It definitely helped make the whole situation feel less unfair when I realized I was getting that benefit. And yes, the text message documentation worked perfectly fine! The IRS isn't looking for anything fancy - they just want to be able to verify the basic facts if they ever need to. Simple and straightforward is usually the best approach with tax documentation. You're definitely going to be fine handling this yourself. The fact that you're being thoughtful about it and asking the right questions shows you're on the right track!
0 coins
KingKongZilla
I've been following this thread with great interest since I'm dealing with a similar situation myself. Thank you to everyone who shared their experiences - it's incredibly helpful to hear from people who have actually navigated this process successfully! One thing I want to emphasize for anyone else reading this is that the "unfairness" we feel about paying taxes on gains from before we owned the stock is actually built into the tax system intentionally. The IRS wants to ensure that all appreciation gets taxed eventually, regardless of how ownership transfers happen. If they allowed the cost basis to "step up" to fair market value for gifts, it would create a huge loophole where people could avoid capital gains taxes just by gifting appreciated assets. For anyone still feeling anxious about this process: I called the IRS taxpayer assistance line last week (yes, I waited on hold for 2 hours!) and the agent confirmed that basis adjustments for gifted securities are extremely routine. She said they process thousands of these every tax season and that properly checking box "E" on Form 8949 with appropriate documentation is exactly what they expect to see. The agent also reminded me that the bigger risk is NOT making the adjustment and just accepting the 1099-B numbers, because that could trigger questions about why you're reporting gains that technically accrued while someone else owned the asset. Don't let perfect be the enemy of good here - basic documentation and proper form completion will handle 99% of situations like this!
0 coins