Can You Patent an App or Software?

Can you patent an app or software? Yes, if it's a real technical improvement and not just an abstract idea run on a computer. Here's how the Alice test works.

A developer reviewing mobile app code on a phone and laptop
Software can be patented, but only when it does more than run an old idea on a computer. Shutterstock
Educational guide, not legal advice. This article explains general legal concepts and is not a substitute for advice from an attorney licensed in your jurisdiction. Reading it does not create an attorney–client relationship.

Quick answer: Yes, you can patent an app or software, but not just any app. A utility patent is possible when your software delivers a real technical improvement, for example making a computer or device work faster, more securely, or in a genuinely new technical way. What you usually cannot patent is an abstract idea, like a basic business method or a mental process, simply because you run it on a generic computer. That distinction, set by the Supreme Court in Alice v. CLS Bank, is the single biggest hurdle for software patents.

It is one of the most common questions inventors ask: I built an app, can I patent it? The honest answer is that software patents are very real, but they are also among the hardest patents to obtain. Whether your app qualifies depends far less on how clever or commercially successful it is, and far more on whether it solves a technical problem in a technical way.

This guide explains, in plain English, why some software gets patented and a lot of it gets rejected, what you are actually protecting, and the other tools, copyright and trade secret, that often matter just as much. It is general education, not legal advice. For the full process of turning an invention into a granted patent, start with how to patent an idea.

The abstract-idea problem (the Alice test)

Software patents live or die on one legal concept: you cannot patent an abstract idea. Laws of nature, natural phenomena, and abstract ideas have always been off-limits, because they are the basic building blocks of innovation and no one should be able to monopolize them.

In 2014, the U.S. Supreme Court decided Alice Corp. v. CLS Bank International, the case that reshaped software patents. Alice held a patent on using a computer to manage settlement risk through an escrow-style arrangement. The Court ruled it was not patent eligible. The key reasoning: escrow is a long-standing, abstract economic practice, and simply implementing an abstract idea on a generic computer does not make it patentable. You cannot take an idea that would be unpatentable on paper and rescue it by adding the words “on a computer” or “over the internet.”

To apply this, courts and the USPTO use a two-step test (often called the Alice/Mayo framework, because it builds on the earlier Mayo v. Prometheus case):

  1. Step one: Is the patent claim directed to an abstract idea? The USPTO groups abstract ideas into three buckets: mathematical concepts, certain methods of organizing human activity (like fundamental economic or business practices), and mental processes (things a person could do in their head or with pen and paper).
  2. Step two: If yes, does the claim add “significantly more,” an inventive concept that transforms the abstract idea into a genuinely patent-eligible application? Generic, conventional computer steps do not count. There must be a real technical contribution.

If a claim is an abstract idea (step one) and adds nothing significantly more (step two), it is rejected under Section 101 of the patent statute. This is why a large share of software patent applications run into eligibility rejections, and it is the issue you have to plan around from the very start.

What actually makes software patentable

The good news: Alice did not kill software patents. Plenty of software is patented every year. The trick is to frame the invention as a technical improvement to how a computer or system works, not as an abstract idea that happens to be automated.

Courts have repeatedly found software eligible when it improves the functioning of the computer or technology itself. Helpful signs that your software may clear the hurdle include:

  • It makes a device or network faster, more efficient, or more reliable, for example a new data-compression method, a more efficient memory or database structure, or reduced processing load.
  • It solves a problem rooted in technology, such as a specific networking, security, or hardware limitation, rather than a business or human-organizational problem.
  • It does something a person realistically could not do in their head or on paper, and the improvement comes from how the computer is made to operate, not just from speed of automation.
  • It is described in concrete technical detail, with specific steps and structures, rather than at the level of a result or a generic “system for doing X.”

Compare two apps. An app that lets users “schedule appointments online” is likely an abstract idea (organizing human activity) run on a generic phone, a hard patent. An app that uses a novel algorithm to dramatically cut a phone’s battery drain while syncing data in the background is solving a technical problem in a technical way, a far stronger candidate. The 2024 USPTO eligibility guidance, which also addresses AI-related inventions, reinforces the same point: the focus is whether the claim reflects a genuine technical improvement.

For the broader rules on what kinds of inventions can be protected at all, see what is patentable.

What you are really protecting: function vs. code vs. look

A crucial source of confusion is that an “app” is really several different things, and different forms of IP protect each one. A patent does not protect your app as a whole.

  • The function or method (what the software does, the underlying process and how it works) is the domain of a utility patent, and the part that must survive the Alice test.
  • The code itself (your specific source and object code, the exact lines you wrote) is protected automatically by copyright the moment it is fixed. Copyright covers the particular expression, not the idea or function behind it.
  • The look (a distinctive user interface, a graphical icon, an animated screen, the ornamental layout) can be protected by a design patent, which covers the ornamental appearance of an article. The USPTO does grant design patents on screen icons and graphical user interfaces.
  • The name and logo of the app are protected by trademark, which is a separate topic from patents entirely.

So a single app can simultaneously involve a utility patent on its method, copyright on its code, a design patent on its interface, and a trademark on its name. Each protects a different layer.

Because utility patents are slow, expensive, and uncertain for software, many developers lean on two alternatives, sometimes instead of a patent and sometimes alongside one.

Copyright is the default. It is free, automatic, and immediate: as soon as you write original code, you own the copyright in that expression. It stops others from copying your actual code, but it does not stop a competitor from studying what your app does and writing their own code to achieve the same function. Copyright protects expression, not ideas or methods. Registering your copyright strengthens your ability to enforce it.

Trade secret is the other major path, and it fits software unusually well. A secret algorithm, model, or internal process can be protected indefinitely, as long as you keep it confidential and take reasonable steps to guard it (access controls, NDAs, encryption). Unlike a patent, a trade secret requires no public disclosure, no application, and no fee, which is why much of the most valuable software logic in the world (search ranking, recommendation engines) is kept as a trade secret rather than patented. The tradeoff: trade secret protection vanishes the moment the secret gets out, and it offers no protection against a competitor who independently develops or lawfully reverse-engineers the same thing. The deeper comparison lives in our guide on patent vs. trade secret.

Note the tension: a patent requires you to publicly disclose how the invention works, while a trade secret requires you to hide it. You generally cannot do both with the same piece of information, so this is a strategic fork in the road, not a menu you fully combine.

A practical decision path

Here is a rough way to think it through before you talk to a professional:

  1. Is the core innovation a technical improvement? If your app genuinely makes a device or system work better at a technical level, a utility patent is worth seriously exploring. If the “innovation” is really a business idea or a clever way of organizing human activity, expect a steep abstract-idea fight.
  2. Can it be reverse-engineered once released? If competitors can easily see what your app does and copy the concept, a patent (which lets you stop them) may be worth the cost. If the magic is hidden server-side and hard to detect, a trade secret may protect it longer and cheaper.
  3. Can you keep it secret? If yes, and disclosure would help rivals, trade secret may win. If the value depends on being public and reproducible, patenting may make more sense.
  4. Always rely on the baseline. Whatever you choose, your code is already protected by copyright, and your name by trademark. Those cost little and should not be ignored.
  5. Move quickly and talk to a professional. Selling or publicly using software too long before filing can permanently bar a patent. A patent attorney licensed in your jurisdiction can run the eligibility analysis and prepare claims drafted to survive Alice, which is its own specialized skill.

To see how courts and the USPTO actually apply these rules to real inventions, browse our patent eligibility analyses.

The bottom line

You can patent an app or software, but only when it is more than an abstract idea running on an ordinary computer. The deciding question, set by Alice v. CLS Bank, is whether your software delivers a genuine technical improvement rather than just automating something people already do. For many developers the smartest strategy is a layered one: copyright protects the code automatically, a trade secret can guard a secret algorithm, a design patent can cover a distinctive interface, and a utility patent may protect the underlying method if it clears the eligibility bar.

This guide is general educational information about intellectual property law, not legal advice, and it does not create an attorney-client relationship. Patent eligibility for software is highly fact-specific and the law continues to evolve. For guidance on your own app or invention, consult a patent attorney licensed in your jurisdiction.

Frequently asked questions

Can you patent an app?

Sometimes. You cannot patent an app just because it is an app. U.S. courts apply the Alice/Mayo test, and software that merely automates an abstract idea, like a basic business method, on a generic computer is usually rejected. But an app that delivers a genuine technical improvement, such as making a device run faster, use less memory, or work in a new technical way, can be patent eligible. A patent attorney can assess your specific invention.

What is the Alice test for software patents?

Alice v. CLS Bank (2014) created a two-step analysis. Step one asks whether the patent claim is directed to an abstract idea, like a mathematical formula or a method of organizing human activity. If it is, step two asks whether the claim adds 'significantly more,' meaning an inventive technical contribution beyond simply saying 'do it on a computer.' Claims that fail both steps are not patent eligible.

Should I patent my software or rely on copyright and trade secret?

Often you use more than one. Copyright automatically protects the specific code you wrote. A trade secret can protect a secret algorithm for as long as you keep it confidential. A utility patent can protect the underlying function or method, but only if it clears the abstract-idea hurdle, and it requires public disclosure. The right mix depends on your product and goals, so discuss it with an attorney licensed in your jurisdiction.

Lidiia Levitska
About the Author

Lidiia Levitska

International Intellectual Property Attorney

Lidiia Levitska focuses on intellectual property dispute resolution, policy, and advisory work across international institutions and government bodies. From 2021 to 2025 she served at the World Intellectual Property Organization (WIPO), managing arbitration cases and overseeing compliance with the Uniform Domain-Name Dispute-Resolution Policy (UDRP), and earlier led IP policy research as a Senior Policy Officer at the American Chamber of Commerce in Ukraine. She holds an LL.M. in International Intellectual Property Law from Chicago-Kent College of Law and an M.A. in Information Technology Law from the University of Tartu, and was admitted to the Ukrainian Bar in 2019.

More about Lidiia →