Should I Patent My Invention or Keep It a Trade Secret?

You should patent an invention, rather than keep it a trade secret, when competitors could learn it from your product or develop it on their own, and when you could tell if they copied it. Keep it a trade secret when it can stay behind closed doors and its value should outlast a 20-year patent. Make the choice early, because selling products made with a secret process starts a one-year clock on your own right to patent it.

At a Glance

  • Patent it when: Competitors could learn it from the product or develop it independently, and you could detect a copy
  • Keep it secret when: It stays inside your plant or your servers, and nobody outside can learn it from what you sell
  • The clock: Selling products made with a secret process more than one year before filing bars your own patent on that process
  • The risk of secrecy: A competitor who develops the same thing independently can use it, and may even patent it
  • A middle path: File an application, and decide before it publishes at 18 months whether to keep it or let it go quietly

What Does Each Choice Protect?

A patent protects against everyone, including a competitor who developed the invention independently, while a trade secret protects only against people who take the information improperly. That single difference drives most of the decision. Our FAQ on how trade secrets compare to patents covers the basics, and the table below sets out the points a general counsel usually weighs.

Patents and Trade Secrets Compared

PatentTrade secret
What it stopsAnyone who makes, uses, sells, offers to sell, or imports what the claims cover, even an independent inventorMisappropriation, meaning theft, breach of a confidentiality duty, or other improper means
What it does not stopDesigns that avoid the claimsReverse engineering and independent development, both of which are lawful
How long20 years from the nonprovisional filing date, if fees are paidAs long as the information stays secret and protected
What you give upA published description that teaches the invention, usually at 18 monthsNothing published, but the daily cost and discipline of keeping it secret
Proving a caseShow that the accused product or process falls within a claimShow that the information was a protected secret and was taken improperly
AbroadSeparate patents country by countryProtection under each country's own trade secret law
Most of the decision turns on what each right does not stop.

Can Competitors See It or Figure It Out?

If a competitor can learn the invention by buying your product and studying it, a trade secret will not hold, and a patent is usually the better choice. Federal trade secret law expressly says that reverse engineering and independent derivation are not improper means of acquiring a secret (Defend Trade Secrets Act). A new mechanism in a device and a chemical structure an analytical laboratory can identify both fall in this category. Once the product ships, the secret ships with it.

Independent development is the quieter risk. In crowded fields such as diagnostics and machine learning, several teams are often working on the same problem at once. A trade secret gives you no answer to the team that solves it next year, and if that team files first, it may own a patent that reads on your own process.

We have seen this happen. A technology client built its product around a proprietary machine learning method, and its technical leadership chose to keep it as a trade secret, confident that no competitor could copy it or design around it. We recommended filing. The client did not file, and a competitor overseas later patented essentially the same approach. The client now has to treat those patents as a risk wherever they issue, and the prior commercial use defense discussed below, which applies only in the United States, would not help it abroad. Nobody copied anything. The competitor simply got there independently and filed first.

Could You Detect Infringement?

A patent is worth only as much as your ability to prove that someone is using it. A product feature is easy to check. A manufacturing method used inside a competitor's plant, or a training technique used on its servers, may be impossible to see from the outside, and a patent you cannot police mainly serves to teach competitors how you do it.

The law does help process owners somewhat. Importing or selling a product made abroad by a process patented in the United States is itself infringement (Patent Act). If the owner shows a substantial likelihood that a product was made by the patented process, and that it tried and failed to learn how the product was actually made, a court can presume the patented process was used and shift the burden to the accused party (Patent Act). For manufacturing methods whose results leave a fingerprint in the product, that can tip the decision toward patenting.

How Long Will the Advantage Last?

A trade secret can last indefinitely, but only if your company keeps it secret every day for as long as it matters. A patent lasts a fixed 20 years from filing. For a technology that will be obsolete in five years, the length of either right matters less than how quickly you can obtain it and enforce it. For a formula or process that could stay valuable for decades, secrecy can outlast any patent, provided the know-how is the kind that stays put.

Secrets leave with people, and people leave. A trade secret is only as durable as the company's confidentiality agreements and exit procedures, and the employees who know it best are usually the ones a competitor most wants to hire. Our FAQ on what determines the strength of a trade secret covers the measures courts look for.

What If Filing Would Reveal How We Lower Costs?

If a patent application would teach competitors how you make the product more cheaply, the publication is a real cost to weigh against the patent. Most applications publish about 18 months after their earliest filing date, whether or not a patent ever issues (Patent Act). The application must teach a skilled person how to make and use the invention. U.S. law also still requires the best mode the inventor knew, even though failing to disclose it can no longer invalidate a patent (Patent Act). An application cannot claim the cost advantage while keeping the cost advantage secret.

Several tools soften the trade-off:

  • Patent what the market sees and keep the rest. A patent on the product or its use can sit alongside a trade secret in how it is made, as long as the patent does not need the secret to be complete.
  • File first and decide later. An application that is abandoned before publication stays confidential (Patent Act). Filing preserves your priority date while you learn whether examination will produce claims worth the disclosure.
  • Ask not to publish. If you will not file abroad, you can ask at filing that the U.S. application not be published, which keeps it confidential until a patent issues (Patent Act). The request ends your foreign options, so it rarely suits a company with international markets.

Why Is the Decision Hard to Reverse?

Choosing secrecy and then selling products made with the secret can cost you the right to patent it later. The Supreme Court held in Helsinn Healthcare v. Teva (2019) that a sale can trigger the on-sale bar even when the buyer must keep the invention confidential (Supreme Court). In Celanese International v. ITC (2024), the Federal Circuit applied the same rule to a secret manufacturing process: sales of a sweetener made with the process more than one year before filing invalidated the later patents on the process (Federal Circuit). The Supreme Court declined to review the decision in 2025 (Supreme Court docket). A company can keep a process secret for as long as it likes, but after a year of commercial sales the patent option is closed.

The opposite risk is that someone else patents what you have been doing quietly. U.S. law gives a limited prior commercial use defense to a company that commercially used the subject matter in the United States, in good faith, at least one year before the other party's effective filing date or public disclosure (Patent Act). The defense belongs only to the company that did the work, and it can be transferred only with the entire business or line of business it relates to. It is generally unavailable against patents owned by universities, and it does not invalidate the other party's patent. The defense is only as good as your records, so a company relying on secrecy should be able to prove when it started using the process commercially.

What About AI Models and Software?

For most AI companies, trained model weights, training data, and the tuning that produced them are better kept as trade secrets, because none of them can be read from what the customer receives. Improvements to how a model works can be a different matter. In a precedential 2025 decision, the USPTO's Appeals Review Panel held that claims to a method of training a machine learning model, which reduced storage needs and protected earlier learning, were eligible for a patent as an improvement to the technology (USPTO). The USPTO's position is encouraging. Courts apply their own test, however, and a patent that clears examination can still be challenged as ineligible in litigation.

The practical test for AI is the same as for a chemical process. An architecture or method that would show in the model's outputs or in published papers is a patent candidate. One that stays on your servers and leaves no detectable trace is usually better kept there, under contracts that address what customers and partners may do with outputs and fine-tuned models. Those contract terms, and who owns improvements when a customer's data helps train a model, raise questions of their own, which our upcoming FAQs on AI rights will cover.

What Does a Trade Secret Program Need?

A trade secret exists only if the owner took reasonable measures to keep it secret, so the program is part of the right itself. Access limits, labeling, confidentiality agreements, and exit interviews are the familiar measures. One is often missed: federal law requires an employer to tell employees, in any agreement governing trade secrets or confidential information, about their immunity for confidential reports to the government. An employer that leaves the notice out cannot recover exemplary damages or attorney fees from an employee who was not given it (Defend Trade Secrets Act). Checking employee agreements for the notice takes an afternoon.

Common Questions About Patents and Trade Secrets

Can I patent an invention and keep it a trade secret too?

Not the same information, because a patent publishes what it covers. You can patent one part of a technology and keep another part secret, as long as the patent fully describes what it claims without relying on the secret.

Does a provisional application keep the invention secret?

Yes, for a time. A provisional application is not published on its own, but it becomes available once a later application that claims its benefit is published or issues as a patent (Patent Act).

Do other countries treat the choice the same way?

Broadly, but Europe is stricter about timing. A European patent requires that the invention not have been made available to the public anywhere before filing, with no general grace period for the inventor's own disclosure (European Patent Office). Trade secret protection across the European Union follows a common directive (EUR-Lex), though enforcement still happens country by country.

Choosing Between a Patent and a Trade Secret

The choice turns on what competitors can see, what you can detect, how long the advantage will matter, and whether you have already started selling. A patent is a public right with a fixed end date. A trade secret is a private discipline with no end date, which lasts only as long as the company keeps it up.

A patent is a promise the government makes to you once. A trade secret is a promise your company has to keep every day, including on the day its best engineer gives notice. If you are deciding which promise to rely on, talk to us.

This FAQ provides general information, not legal advice, and does not create an attorney-client relationship. Outcomes depend on specific facts and jurisdictions. See our Legal Notices.

Related