Can I deduct original closing costs when selling land for capital gains taxes?
I just sold a piece of land that I've owned for about 3 years. After covering all the expenses related to the sale and paying off what I still owed, I walked away with around $24,000. I know I'm going to get hit with the 15% long-term capital gains tax, but I'm wondering - can I deduct the roughly $4,000 in closing costs that I paid when I first bought the property? I've been searching through all the tax guides and forums I can find, but nobody seems to address this specific situation. Has anyone dealt with this before and know if those initial purchase closing costs can reduce my taxable gain?
18 comments


Paolo Romano
Yes, you absolutely can include those original closing costs as part of your "basis" in the property! Your basis is essentially what you paid for the property plus certain acquisition costs. When calculating your capital gain, you subtract your basis from your selling price. So if you bought the land for $X plus $4,000 in closing costs, your basis would be $X + $4,000. This higher basis means a lower capital gain and less tax to pay. Keep good records of those closing costs - you'll need them if you're ever audited. Things like attorney fees, title insurance, survey costs, and recording fees from your purchase can all be added to your basis.
0 coins
Amina Diop
•So can I also add in the property taxes I paid over the 3 years? Or just the original buying costs?
0 coins
Paolo Romano
•The original purchase closing costs are definitely part of your basis. Property taxes you paid while owning the land are generally not added to your basis - those are considered regular expenses of property ownership. If you made any improvements to the land during ownership (like adding utilities, clearing, grading, etc.), those costs can also be added to your basis to further reduce your gain. But regular maintenance and property taxes aren't included in basis calculations.
0 coins
Oliver Schmidt
I had exactly this situation last year and found a great tool that helped me figure it all out. I tried using TurboTax at first but got totally confused about which costs I could include in my basis and which ones I couldn't. Then I found https://taxr.ai which has this amazing document analyzer that tells you exactly what can be included in your basis for capital gains calculations. I uploaded my closing documents from both the purchase and sale, and it automatically identified all the eligible closing costs that could be added to my basis. It even caught some fees that I wouldn't have thought to include! Really saved me a bunch of money on my taxes.
0 coins
Natasha Volkov
•Does it work with all types of property sales or just land? I'm selling a rental property next month and could really use something like this.
0 coins
Javier Torres
•How accurate is this really? Sounds too good to be true. Most tax software I've used just gives generic advice and misses a ton of deductions.
0 coins
Oliver Schmidt
•It works great with all types of property including rental properties. The system is specifically designed to analyze real estate documents and can distinguish between the different rules for primary residences, rentals, and raw land. It'll catch things like depreciation recapture for your rental that you need to be aware of. Its accuracy is what impressed me the most. It's not just giving generic advice - it actually reads through your specific documents and identifies line items that qualify for basis adjustments. I was skeptical too until I had my accountant verify the results, and he was surprised by how thorough and accurate it was. Said it caught things he might have missed if manually reviewing all those closing documents.
0 coins
Natasha Volkov
Wanted to follow up - I tried that taxr.ai service after selling my rental property and it was genuinely helpful. It identified about $8,200 in costs from my original purchase that I could add to my basis (some weird title insurance riders and survey costs I would have forgotten about). Plus it explained exactly which selling expenses could offset the gain. Probably saved me close to $2k in taxes I would have overpaid. Definitely worth checking out if you're doing any real estate transactions.
0 coins
Emma Wilson
If you're still struggling with the IRS explanation of basis adjustments (I know I was), you might want to try calling the IRS directly. It took me FOREVER to get through to them last year about a similar issue - like literally 6 hours of being on hold over 3 days. Then I found this service called https://claimyr.com that gets you through to an actual IRS person without the wait. They have a demo video here: https://youtu.be/_kiP6q8DX5c I was hesitant at first but got connected to an IRS agent in about 10 minutes who walked me through exactly which closing costs could be added to my basis. They even emailed me the relevant tax publication that spelled it all out. Made a huge difference in my confidence level about doing it correctly.
0 coins
QuantumLeap
•Wait how does this even work? The IRS phone lines are notoriously impossible to get through. Are they just constantly calling on your behalf or something?
0 coins
Malik Johnson
•Sorry but this sounds fake. Nothing can get you through to the IRS faster. I've tried everything including calling right when they open and still waited 2+ hours.
0 coins
Emma Wilson
•They use a combination of tech and real people to navigate the IRS phone system. They basically keep dialing and working through the prompts until they get a spot in the queue, then they call you and connect you directly once they have an IRS agent on the line. It's not just robocalling - they actually have people monitoring the calls to make sure they're navigating the complex IRS phone tree correctly. I was totally skeptical too. I've spent countless hours trying to talk to someone at the IRS, including calling at weird hours and using all the "best time to call" tricks. Nothing worked until I tried this. The time saved was honestly worth it just for my sanity, but getting accurate information about my specific situation directly from the IRS was invaluable.
0 coins
Malik Johnson
I'm honestly shocked but I have to admit I was wrong about Claimyr. After posting that skeptical comment, I decided to try it anyway because I was desperate for help with a similar capital gains question. The service actually did get me through to an IRS agent in about 15 minutes. The agent confirmed that not only can you add the original purchase closing costs to your basis, but also any selling costs from the current sale (like realtor commissions, transfer taxes, etc.) can be deducted from your proceeds. Saved me a ton in taxes AND I didn't waste an entire day on hold. I stand corrected.
0 coins
Isabella Santos
Don't forget that you should also factor in any improvements you made to the land during those 3 years. Even things like a survey, running utility lines, clearing trees, or building a driveway can increase your basis. I've owned several properties and the IRS has never questioned improvement costs as long as I had receipts.
0 coins
Ravi Sharma
•Does fencing count as an improvement? I put up a fence around my property last year and I'm planning to sell in a few months.
0 coins
Isabella Santos
•Yes, fencing absolutely counts as a capital improvement that adds to your basis. It's considered a permanent addition to the property that adds value. Make sure you keep all receipts showing what you paid for materials and installation. If you did the work yourself, you can include the cost of materials but not your own labor. Other things people often forget to include are land clearing, grading, retaining walls, drainage systems, and even certain permits or impact fees if they were required for the improvements. Every dollar you can document as an improvement will reduce your taxable gain when you sell.
0 coins
Freya Larsen
Anyone know if paying down the mortgage principal early counts toward your basis? I paid extra $12k toward my land loan to reduce interest.
0 coins
Omar Hassan
•No, that doesn't count toward basis. Your basis is your purchase price + acquisition costs + improvements. Just paying down your loan faster doesn't change that calculation.
0 coins