Capital Gain Tax in Pennsylvania: Landowner Guide (2026)
Capital Gains Tax: What Pennsylvania Landowners Should Know
When you sell land in Pennsylvania, you may owe capital gains tax on the profit. The amount depends on how long you owned the property, your taxable income, and whether the land was inherited, purchased, or received as a gift. Understanding the capital gains tax rate that applies to your situation is the first step toward making informed decisions about your sale.
At the federal level, long-term capital gains tax rates (for property held longer than one year) are 0%, 15%, or 20% depending on your income. According to the IRS, single filers with taxable income up to $48,350 pay 0%, those earning between $48,351 and $533,400 pay 15%, and income above $533,400 is taxed at 20%. Pennsylvania also charges a flat 3.07% state income tax on all capital gains, bringing your total tax rate higher than the federal rate alone.
Gains Tax On Real Estate in PA: Background and Context

Capital gains tax applies whenever you sell a piece of land for more than your cost basis. Your cost basis is typically the original purchase price plus any capital improvements you made, such as clearing, grading, or adding a road. If you sell the property for more than that adjusted basis, the difference is your capital gain, and it is subject to capital gains tax.
The distinction between short-term and long-term gains matters significantly. If you owned the land for one year or less before the sale, the gain is classified as a short-term gain and taxed at ordinary income tax rates, which can range from 10% to 37% depending on your income and tax bracket. If you held the property for more than a year, the gain qualifies for the lower long-term capital gains taxes rate. For most Pennsylvania landowners, the difference between short-term and long-term rates can mean thousands of dollars in taxes owed.
Pennsylvania does not have a separate capital gains tax rate. Instead, the state taxes all capital gains and losses as ordinary income at the flat 3.07% rate. This applies regardless of how long you owned the property. On top of federal and state taxes, you will also need to account for the Pennsylvania real estate transfer tax of 2% on the sale price (1% state, 1% local), which is typically split between buyer and seller.
If you inherited the land, the tax situation changes. Inherited property receives a stepped-up basis equal to the fair market value at the date of death. This means you only pay capital gains tax on appreciation that occurred after you inherited the property. Pennsylvania also charges an inheritance tax at rates ranging from 0% for spouses to 15% for non-family beneficiaries. If you want to sell your land after inheriting it, understanding how the stepped-up basis reduces your gain on the sale is essential. The combination of inheritance tax and potential capital gains tax on the sale of the property means it is worth consulting a tax professional to understand your total tax bill for the tax year in which you sell the land.
For landowners selling real estate, several strategies exist to defer or avoid paying capital gains taxes. One common approach is a 1031 exchange, also called a like-kind exchange, which allows you to defer capital gains tax by reinvesting the proceeds from the sale into another investment property. The replacement property must be identified within 45 days, and the transaction must close within 180 days. An installment sale is another option that spreads the gain over multiple years, potentially keeping you in a lower tax bracket each year. While you cannot eliminate capital gains taxes entirely on most land sales, you can use these strategies to reduce or delay what you owe in taxes.
How to Avoid Capital Gains Taxes on a Land Sale in PA

There are several legitimate strategies Pennsylvania landowners can use to reduce or avoid capital gains tax on a land sale. Here are the most common approaches.
Use the stepped-up basis on inherited property. If you inherited the land, you may owe capital gains tax only on appreciation since the date of inheritance, not on the original owner's gains. If the property has not increased in value since you inherited it, you may owe no capital gains at all. This is one of the most effective ways to minimize your tax burden.
Hold the property for more than one year. Capital gains are taxed at different rates depending on how long you owned the property. If you sell a property you have owned for at least two years, your gain qualifies for the lower long-term rate. Short-term gains on property held for less than a year are taxed at ordinary income rates, which are significantly higher for most taxpayers.
Increase your cost basis with capital improvements. According to the IRS, capital improvements such as grading, road construction, drainage, and utility installation can be added to your cost basis. A higher basis means a smaller taxable gain when you sell a property. Keep detailed records and receipts for any improvements you make to the land.
Consider a 1031 exchange. If you plan to reinvest in another piece of real estate, a 1031 exchange allows you to defer federal tax on the gain. This strategy works well for landowners who want to sell one investment property and purchase another without triggering an immediate tax liability. You may owe capital gains tax eventually when you sell the replacement property, but deferring can be valuable in the meantime.
Offset gains with capital losses. If you have capital losses from other investments, you can use them to offset your capital gains from a land sale. This reduces your taxable income and the total amount of property tax and income tax you pay in that year. Work with a tax professional to ensure you are maximizing your deductions and taking advantage of every available federal tax benefit.
Potential Challenges With Tax On A Home Sale in PA

Understanding how capital gains tax works is one thing. Navigating the real-world challenges is another. Here are some common issues Pennsylvania landowners encounter when dealing with capital gains taxes when selling land.
Net investment income tax. High-income sellers may face an additional 3.8% net investment income tax on top of the standard capital gains rate. This applies to individuals with modified adjusted gross income above $200,000 (single) or $250,000 (married filing jointly). Combined with the 20% federal rate and Pennsylvania's 3.07% state rate, the effective gains tax on the sale can exceed 26% for high earners.
Transfer tax adds to closing costs. Beyond capital gains, Pennsylvania's 2% real estate tax (transfer tax) applies to every land sale. This is a separate obligation from capital gains and is calculated on the full sale price, not just the gain. If you sell a property for $200,000, the transfer tax alone is $4,000. Accounting for this cost is important when calculating your net proceeds.
Calculating basis on older properties. If you purchased the land decades ago, you may not have clear records of your original purchase price or capital improvements. Without documentation, establishing your cost basis can be difficult. A tax advisor can help you reconstruct your basis using historical records, county assessor data, and other sources. An inaccurate basis can lead to paying more capital gains tax than necessary or to problems if the IRS audits your tax return.
Multiple owners and tax liability. If you co-own land and decide to sell, each owner is responsible for paying capital gains tax on their share of the gain. The tax law treats each owner's portion independently, meaning one co-owner might owe taxes while another does not, depending on their individual income and basis. Selling an asset with multiple owners requires coordination to ensure everyone understands their tax obligations before the sale closes. A real estate agent experienced with land sales can help coordinate the process.
Gains Tax On A Home FAQ for Pennsylvania Landowners
How much tax do you pay on the sale of land in Pennsylvania?
The total tax depends on your capital gains rate, which varies by income. Most Pennsylvania landowners pay a 15% federal long-term capital gains rate plus Pennsylvania's 3.07% state income tax, for a combined rate of about 18%. You also pay 1% of the sale price as your share of the transfer tax. If you sell land for a significant profit, the tax rate that applies could be higher if you are in a higher income bracket. To reduce the capital gains tax, consider strategies like holding the property for more than a year, using the stepped-up basis on inherited land, or pursuing a 1031 exchange. A tax deduction for selling expenses (real estate commissions, legal fees, title insurance) can also lower your taxable income from the sale.
How can I avoid capital gains tax on a land sale?
You cannot completely avoid capital gains tax in most situations, but you can minimize it. If you inherited the property, the stepped-up basis may eliminate most or all of the gains tax on real estate. A 1031 exchange lets you defer the tax on the profit from a real estate sale by reinvesting the proceeds from the sale into another qualifying property. You can also offset gains with capital losses from other investments. For some sellers, the sale of a primary residence may qualify for a tax exclusion of up to $250,000 ($500,000 for married filing jointly), though this applies to a property you have used as your primary residence for at least two of the past five years. Report the sale on your tax return for the year the transaction closes, and consult a tax professional to identify the best approach for your specific situation. Understanding how to avoid capital gains on your land sale can save you thousands of dollars.
Do I owe capital gains tax if I sell land I inherited?
Possibly, but often less than you might expect. Inherited property receives a stepped-up basis to the fair market value at the date of death. You only owe capital gains tax on the difference between the stepped-up basis and your selling price. If you sell inherited land quickly before the property value increases, you may owe little or nothing in capital gains. However, you may still owe Pennsylvania inheritance tax (4.5% for children, 12% for siblings, 15% for others) on the value of the inheritance itself. If you sell the property immediately after the estate is settled, the short-term capital gains rates apply only if you hold the property for less than a year after inheriting it. Long-term capital gains rates apply after one year of ownership and are generally more favorable.
Your Options Regarding Tax On Selling Land in PA
Selling land in Pennsylvania comes with tax obligations that range from straightforward to complex. Short-term capital gains, long-term capital gains, transfer taxes, and potential inheritance taxes all play a role depending on your circumstances. For owners of investment properties or rental properties, the calculations become more involved, especially if depreciation recapture applies.
The key takeaway is that planning ahead can significantly reduce your tax burden. Consult with a tax professional before listing your land, gather your documentation for cost basis, and explore strategies like 1031 exchanges or installment sales if they fit your situation.
If you are considering selling your Pennsylvania land and want to understand your options, Sell Pennsylvania Land can help. We purchase vacant land, inherited property, and raw acreage across all 67 counties. We handle closing costs and can close in as little as 2 weeks, giving you a clear path to turning your land into cash while you plan your tax strategy.
Need to sell your Pennsylvania land? We buy land directly from owners for cash, with no fees, no commissions, and we close in as little as 2 weeks.
Loading form...
Sell Your Pennsylvania Land for Cash
Ready to sell? We buy land directly from owners across Pennsylvania. Get a fast, no-obligation cash offer.