A company with a valuable formula, process or algorithm has two very different legal ways to protect it, and they pull in opposite directions. A patent requires telling the world exactly how the invention works, in exchange for about 20 years in which nobody else may use it. A trade secret requires telling no one, and lasts as long as the secret holds, which can be forever or can end the day a competitor takes the product apart. The two cannot usually protect the same thing at once. The rules below come from the federal statutes and the Supreme Court’s main decision on how the two fit together.
What a patent gives, and what it costs
The right to exclude
The Patent Act describes the grant itself: a patent gives the owner the right to exclude others from making, using, offering for sale, or selling the invention in the United States or importing it. That right is strong. It applies even against someone who came up with the same invention independently, without ever seeing the patent.
The 20-year clock
The same section sets the term: protection ends 20 years from the date on which the application for the patent was filed, or from the earliest application it claims priority to. The clock starts at filing, not at grant, so time spent waiting for the patent office comes out of the 20 years.
The price: full disclosure
In exchange, the patent must teach. Section 112 requires a written description of the invention and of how to make and use it, in terms clear enough to enable any person skilled in the art to make and use it, and it requires setting out the best mode the inventor knows of carrying it out. A patent cannot hold back the trick that makes the invention work best.
That disclosure becomes public long before the patent expires. Section 122 provides that a patent application is published promptly after the expiration of a period of 18 months from its earliest filing date, whether or not a patent is ever granted. An applicant who files and is later refused has published the invention anyway.
There is one narrow way to delay that. The same section lets an applicant ask, when filing, that the application not be published, by certifying that the invention has not and will not be the subject of an application filed in another country that requires publication at 18 months. An applicant who plans to seek protection only in the United States can keep the application unpublished until a patent issues, and if no patent issues, the invention can remain a secret. Filing abroad later breaks that bargain. It is a real option for a company still undecided between the two routes, but it only postpones the choice; a granted patent is published in full.

What a trade secret is
The statutory definition
Federal law defines a trade secret broadly, as all forms and types of financial, business, scientific, technical, economic or engineering information, including formulas, methods, techniques, processes, programs and codes, however they are stored. The definition, in the Defend Trade Secrets Act’s chapter of the U.S. Code, then adds two conditions. The owner must have taken reasonable measures to keep such information secret, and the information must derive independent economic value from not being generally known to, and not readily ascertainable by, others who could profit from it.
Both conditions are ongoing, and both are judged from the facts rather than from intentions. Information that is not actually kept secret, or that anyone in the field could easily work out, is not a trade secret, whatever a contract or a label says.
No registration, no expiry
There is no application, no examination and no fee, and nothing is filed with any government office. Protection exists as long as the conditions hold. A secret kept for a century is protected for a century.
What a trade secret does not stop
Honest discovery
The protection is narrower than a patent’s in one decisive way. The statute defines the forbidden “improper means” as including theft, bribery, misrepresentation, breach of a duty to keep secrecy and espionage, and it states that improper means does not include reverse engineering, independent derivation, or any other lawful means of acquisition.
The Supreme Court said the same thing in Kewanee Oil Co. v. Bicron Corp. in 1974: trade secret law does not offer protection against discovery by fair and honest means, such as independent invention, accidental disclosure, or reverse engineering, which the Court described as starting with the known product and working backward.
That is the central trade-off, and it explains why the same company can make opposite choices for different inventions. A competitor who buys the product and figures out how it works has done nothing wrong. A competitor who invents the same thing independently has done nothing wrong, and may then patent it.

Choosing between them
What the comparison turns on
| Patent | Trade secret | |
|---|---|---|
| Disclosure | Required, in enabling detail | None; secrecy is the condition |
| Publication | Application published at 18 months | Never, if kept |
| Term | 20 years from filing | As long as secrecy holds |
| Independent invention | Still infringes | Fully lawful |
| Reverse engineering | Still infringes | Fully lawful |
| Cost to obtain | Application and fees | Security measures and contracts |
When secrecy is realistic
The question that usually decides it is whether the invention can be kept secret once it is in use. A manufacturing process that happens inside a factory, a recipe mixed in-house, or server-side software that customers never receive can stay hidden. A product that customers hold in their hands, where the inventive part can be seen or measured, usually cannot; reverse engineering is lawful, and the secret ends with the first teardown.
When 20 years is enough
The other side of the question is lifespan. An improvement that will be obsolete in five years gains little from indefinite secrecy and may be worth patenting for the exclusivity. Something with lasting value that can be kept hidden may be worth more as a secret than as a patent that puts the method in the public record and expires after 20 years.
How the two coexist
The Supreme Court’s view
In Kewanee, the question was whether state trade secret law conflicted with the federal patent system. The Court held that Ohio’s trade secret law is not preempted by the patent laws, and observed that trade secret law and patent law have co-existed in the United States for over a hundred years, each with its own role. A company can patent some inventions and keep others secret; it cannot do both for the same disclosed invention, because the patent publishes what the secret depends on hiding.
Enforcement
The Defend Trade Secrets Act gives an owner whose secret is misappropriated the right to bring a civil action in federal court when the secret relates to a product or service used in interstate or foreign commerce. The same section allows exemplary damages of up to twice the damages awarded for willful and malicious misappropriation, and sets a deadline: an action may not be brought later than 3 years after the misappropriation is discovered, or should have been discovered with reasonable diligence.
A remedy patents do not have
Trade secret enforcement has one tool shaped by the nature of secrets. Once a secret is published, no court judgment can make it secret again. The Act therefore lets a court, on an application made without notice to the other side but only in extraordinary circumstances, order the seizure of property necessary to prevent the trade secret from being propagated or disseminated. The section then lists strict findings the court must make from specific facts before granting such an order. The provision exists because, for a secret, the harm is often in the spreading itself, and money awarded later cannot undo it.

Keeping a secret secret
What “reasonable measures” looks like in practice
The statute does not list the measures, and courts judge them case by case. The common elements are access limited to people who need the information, confidentiality agreements with employees and contractors, marking documents as confidential, and controls over where the information is stored. Employment agreements matter here too, as the earlier post on who owns a side project covers. A company that cannot show it took such steps may find, at the moment it needs protection, that its secret never qualified.
For the broader map of intellectual property, including how trademarks and copyright differ from both, see the earlier post on trademark vs copyright vs patent. For whether software can be patented at all, see the post on the Alice test.
For informational purposes only — consult a licensed attorney or financial advisor.
Sources
- 35 U.S. Code § 154, contents and term of patent (Cornell LII): https://www.law.cornell.edu/uscode/text/35/154
- 35 U.S. Code § 112, specification (Cornell LII): https://www.law.cornell.edu/uscode/text/35/112
- 35 U.S. Code § 122, publication of patent applications (Cornell LII): https://www.law.cornell.edu/uscode/text/35/122
- 18 U.S. Code § 1839, definitions (Cornell LII): https://www.law.cornell.edu/uscode/text/18/1839
- 18 U.S. Code § 1836, civil proceedings (Cornell LII): https://www.law.cornell.edu/uscode/text/18/1836
- Kewanee Oil Co. v. Bicron Corp., 416 U.S. 470 (1974) (Cornell LII): https://www.law.cornell.edu/supremecourt/text/416/470
