How to find cost basis on gifted stock after selling it

So I sold shares of stock my uncle gave me a few years ago and now I'm staring at my 1099-B trying to figure out what to put in column (e) on Form 8949. The broker listed the proceeds fine but left cost basis blank — which I guess makes sense since they had no idea what my uncle paid for it. I emailed him and he dug up an old brokerage statement showing what he originally paid per share. But I'm not sure if that's actually my basis or if I need to adjust it somehow. I did hold the shares for more than a year before selling, so I think it's long-term, but I want to make sure I'm using the right basis number. Do I just plug in what he paid, or is there more to it?

36 comments

Your uncle's adjusted basis is your starting point, but there are a few layers. Under the gift basis rules, if the fair market value of the stock on the date of the gift was equal to or greater than what your uncle paid (his adjusted basis), then your basis is simply his adjusted basis. That's Publication 551 — Basis of Assets. So if the stock was worth more than he paid when he handed it to you, you use his cost straight up.

Tony P.

Author

That's what I figured. The stock had gone up a lot by the time he gave it to me, so his original cost should be my basis. Good to know the rule confirms that.

The tricky part is when the stock had dropped below what the donor paid by the time of the gift. Then you have a split-basis situation: gain basis is the donor's adjusted basis, loss basis is the FMV at the date of the gift, and if you sell between the two numbers you have neither gain nor loss. Since you said the stock went up though, that shouldn't apply here.

Tony P.

Author

Yeah the stock had appreciated, so I think I'm in the simpler scenario. But good to flag that for anyone reading who's in a different situation.

Agree, that split-basis rule catches a lot of people off guard. Worth double-checking FMV on the date of gift regardless just to confirm which scenario you're in.

When I sold gifted shares last year I uploaded my uncle's old trade confirmation and my own sale statement to taxr.ai and had Taxr map out exactly which basis figure applied given the FMV at the gift date, and then list what the IRS would want to see if I ever got questioned on it. Made filling out column (e) on Form 8949 much less stressful. The underlying rule is what others said — donor's adjusted basis when FMV at gift exceeded that basis.

Tony P.

Author

That's a smart move. I have the old brokerage statement from my uncle so I could do the same thing to double-check my numbers before I file.

Don't forget to check whether your uncle paid any gift tax when he transferred the shares. If he did, you may be able to add a portion of that gift tax to your basis. Publication 551 covers the formula. It only applies when FMV exceeded his adjusted basis at the time of the gift, which sounds like your situation.

Tony P.

Author

I'll ask him about that. I honestly didn't know gift tax could affect my basis. He might not have owed any depending on the value, but worth checking.

Right, whether he actually owed gift tax depends on amounts and his filing history, so just ask and see. If he filed a gift tax return you'd want that number.

For the Form 8949 mechanics: since the broker didn't report your basis to the IRS, your 1099-B box for basis reported is likely blank or unchecked. That puts you in box B (short-term) or box E (long-term) — basis not reported to the IRS. You held over a year so Part II box E applies. Enter the correct basis you calculated in column (e) and put -0- in column (g). Don't use box D even though it's long-term, because the basis wasn't reported.

Tony P.

Author

This is exactly the mechanical piece I needed. Box E, correct basis in column (e), -0- in column (g). Got it.

Confirmed. I had a similar gifted stock sale and my preparer checked box E for the same reason. The instructions for Form 8949 are pretty clear on which box matches which 1099-B reporting scenario.

How did you determine the holding period? Just want to flag that for gifted stock the holding period rule is different from inherited stock. With a gift you tack on the donor's holding period to yours — so if your uncle held it for years before gifting it, that time counts toward your long-term threshold too.

Tony P.

Author

I didn't know the tacking rule applied. My uncle held the shares for about five years before giving them to me, and I held another two years. So I'm definitely long-term either way, but useful to know for smaller gaps.

Yes, exactly. The tacking rule matters most when you sell shortly after receiving the gift. Publication 550 covers holding period rules including the tacking concept for gifted property.

What documentation did your uncle actually give you? The old brokerage statement is a good start, but ideally you want something that shows the per-share purchase price and the date purchased. If he bought in multiple lots at different prices you'd need to know which specific shares he gave you to match the right lot.

Tony P.

Author

He gave me a statement showing the original purchase: date, number of shares, price per share. It was one purchase so no lot confusion. I think that covers it.

Worth noting that Publication 551 is the IRS's main resource on basis of assets, and there's a specific section on property received as a gift. Reading that section took me about ten minutes and cleared up the split-basis question for my own situation. irs.gov/publications/p551 is where to find it.

I keep a simple spreadsheet for this stuff: donor's name, date of gift, donor's basis per share, FMV on date of gift, any gift tax info. That way if the IRS ever questions the basis I have everything in one place and can point to source documents.

No, a spreadsheet alone won't satisfy the IRS — you need the underlying documents too. The spreadsheet is a useful organizer but the original trade confirmations or brokerage statements are what actually prove the basis.

Fair point. I should have said the spreadsheet references those source documents. The actual statements are what matters as evidence.

When I dealt with this I pasted my uncle's old confirmation slip and the gift letter into Taxr and it pulled out the relevant figures and walked me through which number to enter in column (e) versus column (g) depending on the box I'd checked. It also flagged the gift tax basis question that I hadn't thought to ask. Really useful for getting all the pieces in the right order before sitting down with the actual form.

Tony P.

Author

The gift tax piece keeps coming up. I'll definitely look into whether my uncle filed anything before I finalize my numbers.

Something people miss: if the stock paid dividends that were reinvested while your uncle held it, those reinvested dividends increase his adjusted basis per share. If he gave you shares from a DRIP account the per-share basis could be higher than the original purchase price alone. Worth confirming with him whether reinvestment happened.

Yes, good catch. Each reinvested dividend is a separate lot with its own purchase date and price. That complicates the basis calculation but the same gift rules apply to each lot.

I had a complicated version of this with shares from multiple gift dates and mixed lots. Dropped all the statements into Taxr and it grouped the lots, applied the gift basis rule to each one, and drafted a summary showing my gain or loss per lot with the correct Form 8949 box for each. I reviewed it, confirmed the numbers matched the documents, and filled out the form from there. Saved a lot of manual sorting.

Tony P.

Author

Multiple lots sounds like a nightmare to untangle manually. Good to know there's a way to organize it systematically.

The lot-by-lot approach is the right one. Each lot can have a different basis and potentially a different holding period, so combining them into one line on Form 8949 would be wrong unless they all have the exact same box, holding period and no adjustments needed.

Topic 409 on the IRS site covers capital gains and losses including holding period basics. Pairs well with Publication 551 for the basis rules. Between those two pages you have the full picture for a gifted stock sale.

One documentation note: if your uncle no longer has the original trade confirmation but has his old tax returns, the Schedule D or Form 8949 from the year he bought the stock might show the purchase price. Not perfect but it's a secondary source that can support the basis you claim.

Tony P.

Author

He actually does have his old returns. Good backup option in case the brokerage statement has any gaps.

To make sure the thread hasn't left anything hanging: the answer is donor's adjusted basis when FMV at gift exceeded that basis, reported in Part II box E of Form 8949 with correct basis in column (e) and -0- in column (g) since basis wasn't reported to the IRS. Confirm whether gift tax was paid and whether any reinvested dividends affected the per-share basis. Those are the two things most people overlook.

Yes, that's the complete checklist. The holding period tacking is worth adding — start counting from the donor's original purchase date, not the date of the gift.

If the numbers involved are significant and you're not certain you have the right basis figure, it may be worth a session with a CPA or enrolled agent before you file. Getting basis wrong on gifted stock is a common audit trigger, and the downside of overstating basis is taxes and interest on the difference.

Tony P.

Author

Good reminder. The amounts here are meaningful enough that I might run it by a CPA just to have a second set of eyes on the final Form 8949 before I submit.