When the tax bill was still pending, I recall reading somewhere that the bill changed capital gains tax so that instead of using the cost-basis for the stock in question you used a first-in first-out strategy so that the oldest cost-basis is the one use when selling.

I haven't been able to find anything that says whether this made it into the final law or not however. Does it still matter which stock you sell or is the cost basis used always the oldest under the new tax law?

  • 1
    @mhoran_psprep Does look like a duplicate. Sorry about that, the Stack Exchange app doesn't show possible duplicates when creating a question.
    – Rob Rose
    Commented Jan 26, 2018 at 1:40

1 Answer 1


The FIFO provision did not end up in the final bill passed by Congress and signed by the president. (Bloomberg source) It was in the version passed by the Senate but removed during the conference which reconciles differences between House and Senate versions. You can still choose lots of an investment to sell to manage your capital gains/losses.

Not the answer you're looking for? Browse other questions tagged .