Kentucky does not impose a separate capital gains tax. Instead, gains from selling farmland are taxed as regular income at the state level, currently a flat rate of 4%. At the federal level, long-term capital gains rates of 0%, 15%, or 20% apply depending on your taxable income. For high earners, an additional 3.8% Net Investment Income Tax (NIIT) may apply when modified adjusted gross income exceeds $200,000 for single filers or $250,000 for married couples filing jointly.
But capital gains are only one piece of the tax picture when selling a Kentucky farm. Depreciation recapture on barns, fences, and other improvements can be taxed at ordinary income rates up to 25%. If the land has been assessed at agricultural-use value and the new owner converts it to non-farm use, the agricultural rollback tax adds another cost that needs to be accounted for. With Kentucky farmland averaging $5,600 per acre in 2026 and Central Kentucky improved pasture near Lexington reaching $8,000 to $20,000 per acre, the dollar amounts involved can be substantial.
Important disclaimer: This article is educational content, not tax or legal advice. Tax law is complex, fact-specific, and subject to change. Before making any decisions about selling farmland, consult a qualified CPA and attorney who understand agricultural transactions in Kentucky. The information here is intended to help you ask better questions, not to replace professional guidance.
Capital gains tax on farm sales
The capital gains tax on a farm sale is calculated by subtracting your adjusted basis from the sale price. Your adjusted basis is typically what you originally paid for the property, plus the cost of qualifying improvements, minus any depreciation you have claimed over the years.
If you have owned the farm for more than one year, the gain is treated as a long-term capital gain at the federal level. For the 2026 tax year, long-term capital gains rates are:
- 0% for single filers with taxable income up to approximately $47,025, or married filing jointly up to $94,050
- 15% for single filers up to approximately $518,900, or married filing jointly up to $583,750
- 20% for income above those thresholds
If you have owned the property for one year or less, the gain is short-term and taxed at your ordinary federal income tax rate, which can be as high as 37%.
The Net Investment Income Tax (NIIT) adds another 3.8% on top of capital gains for taxpayers whose modified adjusted gross income exceeds $200,000 (single) or $250,000 (married filing jointly). For a farm that has appreciated significantly over decades, this additional layer can add tens of thousands of dollars to the total tax bill.
At the Kentucky state level, all capital gains are treated as ordinary income and taxed at the flat 4% rate. There is no distinction between short-term and long-term gains for state purposes.
1031 exchange for farmland
A 1031 exchange, named after Section 1031 of the Internal Revenue Code, allows you to defer capital gains tax by reinvesting the proceeds from a farm sale into a "like-kind" replacement property. This is one of the most widely used tax deferral strategies for farmland sellers, but it comes with strict rules and timelines.
For farmland, "like-kind" is interpreted broadly. You can exchange farmland for other farmland, ranchland, timberland, or even certain types of commercial real estate. The replacement property must be held for investment or used in a trade or business. A personal residence would not qualify.
The timelines are firm and non-negotiable:
- 45-day identification window: You must identify potential replacement properties in writing within 45 calendar days of closing on the sale of your farm.
- 180-day closing deadline: You must close on the replacement property within 180 calendar days of the original sale, or by the due date of your tax return (with extensions), whichever comes first.
A qualified intermediary must hold the sale proceeds during the exchange period. You cannot touch the funds directly at any point, or the exchange will be disqualified. The intermediary is typically a company that specializes in 1031 exchanges, and selecting one before you list your farm is strongly recommended.
It is worth noting that a 1031 exchange defers the tax rather than eliminating it. If you eventually sell the replacement property without doing another exchange, the deferred gain becomes taxable at that point. However, if you hold the replacement property until death, the stepped-up basis may eliminate the deferred gain entirely for your heirs.
The new installment election for farmland
Beginning with 2026 tax years, the new IRC Section 1062 farmland installment election offers an additional option for farm sellers. This provision allows qualifying sellers to elect to spread gain from the sale of farmland over multiple tax years, even when the full payment is received at closing.
This election is separate from a traditional installment sale (where the buyer actually pays over time). Under Section 1062, the seller can recognize the gain in equal installments over a period of up to 10 years, potentially keeping income in lower tax brackets each year and reducing the overall effective tax rate.
The election has specific requirements, including that the land must have been used in farming for a minimum period and that the seller must meet certain eligibility criteria. Because this is a new provision, the IRS is still issuing guidance on implementation details. Working with a CPA who is tracking these developments is essential before relying on this strategy.
Depreciation recapture on farm improvements
When you sell a farm, the IRS does not treat every dollar of gain the same way. If you have claimed depreciation on barns, fencing, irrigation systems, grain storage, outbuildings, or other farm improvements over the years, those deductions come back into play at sale time.
Under Section 1250, the portion of gain attributable to depreciation previously claimed on real property improvements (such as barns and permanent structures) is "recaptured" and taxed at a maximum rate of 25%, rather than the lower long-term capital gains rate. This is often referred to as "unrecaptured Section 1250 gain."
For example, if you built a $120,000 barn 15 years ago and have claimed $60,000 in depreciation, the first $60,000 of gain attributable to that barn would be taxed at up to 25%, not at the 15% or 20% long-term capital gains rate that might apply to the land itself.
Farm equipment and other personal property fall under Section 1245, where depreciation recapture is taxed at ordinary income rates, which can reach 37%. If you are selling the farm as a going concern with equipment included, your CPA will need to allocate the sale price among land, improvements, and equipment to determine the correct tax treatment for each category.
This allocation matters significantly. A well-prepared allocation, supported by appraisals and documented in the purchase agreement, can help avoid disputes with the IRS and ensure both buyer and seller understand the tax consequences.
Kentucky agricultural rollback tax
Kentucky offers a significant property tax benefit to farmland owners through agricultural-use valuation. Under this program, qualifying farmland is assessed based on its value for agricultural production rather than its fair market value. The difference can be dramatic, especially near growing towns and cities where development pressure drives land prices higher.
However, when land that has been receiving agricultural-use assessment is converted to a non-agricultural use, the agricultural rollback tax applies. The penalty equals the difference between the agricultural-use assessment and the fair market value assessment for the five tax years preceding the change in use.
For a 50-acre farm near Lexington where the agricultural assessment might be $500 per acre but the fair market value assessment is $15,000 per acre, the annual difference in assessed value would be $14,500 per acre. Multiplied by 50 acres and five years of rollback, the total rollback tax bill could be substantial, potentially reaching tens of thousands of dollars depending on the local tax rate.
The key question is who pays the rollback tax. This is a negotiable item in the purchase contract. In many farm sales, particularly those involving a developer or buyer who plans to change the land use, the buyer agrees to assume responsibility for the rollback tax. But this needs to be addressed clearly in the contract language, and both parties should understand the potential cost before closing.
If the buyer continues to use the property for agricultural purposes and maintains the agricultural-use assessment, the rollback tax may not be triggered at all.
Installment sales as a tax strategy
A traditional installment sale is another strategy worth investigating with your tax advisor. In an installment sale, the buyer pays the purchase price over time, and the seller reports the gain proportionally as payments are received. This can spread the income across multiple tax years, potentially keeping you in a lower bracket each year.
For example, if you sell a farm for $800,000 with a $200,000 down payment and the balance paid over four years, you would report roughly one-fifth of the total gain each year rather than the entire gain in a single tax year.
There are trade-offs. You will receive interest income on the unpaid balance, which is taxed as ordinary income. You also carry the risk of buyer default, though a properly structured installment note secured by the property can mitigate this. The current USDA direct farm ownership loan rate is 6.25% as of October 2026, which provides a useful benchmark for setting interest rates on seller-financed transactions.
Installment sales can be particularly useful for sellers who are near income thresholds for the NIIT or who would otherwise be pushed into the 20% long-term capital gains bracket by a lump-sum sale. The math depends entirely on your specific situation, which is why this decision should be modeled by a CPA with the actual numbers.
Work with professionals, not blog posts
This article is meant to help you understand the general landscape of taxes that can apply when selling farmland in Kentucky. It is not a substitute for professional advice, and it should not be treated as such.
Tax law changes frequently. Individual circumstances vary enormously. The difference between a good strategy and a costly mistake often depends on details that only a qualified professional reviewing your specific situation can identify. A few hundred dollars in CPA and attorney fees before listing a farm can prevent tens of thousands of dollars in avoidable taxes.
At a minimum, consider assembling the following team before you sell:
- A CPA experienced in agricultural transactions who can model different sale structures, calculate estimated taxes, and advise on timing
- A real estate attorney who can review the contract, address rollback tax allocation, structure installment terms, and coordinate with a qualified intermediary if a 1031 exchange is planned
- A REALTOR® who understands farm sales and can help price the property, market it effectively, and navigate the unique considerations of selling agricultural land
The sale of a farm is often the largest financial transaction of a lifetime. Taking the time to build the right team before listing is one of the most valuable investments you can make.
Frequently asked questions
What is the stepped-up basis for inherited farmland?
When farmland is inherited, the tax basis resets to the fair market value at the date of the previous owner's death. This is called a stepped-up basis. If your parents purchased land for $1,000 per acre and it was worth $5,600 per acre at the time of their passing, your new basis would be $5,600 per acre. If you then sell at $5,800 per acre, the taxable gain would only be $200 per acre rather than $4,800. This can dramatically reduce the capital gains tax owed on inherited farmland.
Does Kentucky have a state capital gains tax?
Kentucky does not have a separate capital gains tax rate. Capital gains from selling farmland are taxed as regular income at the state's flat rate of 4%. This applies to both long-term and short-term gains at the state level, though federal rates will differ depending on how long you held the property.
Is farm equipment taxed differently than land?
Yes. Farm equipment and other personal property used in a farming operation are subject to Section 1245 depreciation recapture. When you sell these items for more than their depreciated value, the gain is recaptured and taxed at ordinary income rates rather than the lower long-term capital gains rates that may apply to land. This distinction can make a significant difference in total tax liability.
How can I avoid capital gains tax on a farm sale?
There are several strategies that may reduce or defer capital gains tax on a farm sale, though each has specific requirements and limitations. A 1031 like-kind exchange allows you to defer gains by reinvesting in qualifying replacement property within strict timelines. An installment sale spreads the gain over multiple tax years. A charitable remainder trust can provide income while reducing the taxable event. Investing proceeds in a qualified opportunity zone may also defer and partially reduce gains. Each strategy requires professional guidance from a qualified CPA and attorney.
What is the agricultural rollback tax in Kentucky?
Kentucky's agricultural rollback tax applies when farmland that has been assessed at agricultural-use value is converted to a non-agricultural use. The penalty equals the difference between the agricultural-use assessment and the fair market value assessment for the five tax years preceding the change in use. This can add a meaningful cost to a farm sale if the buyer plans to develop the land. The responsibility for paying this tax can be negotiated between buyer and seller during the sale.