Is there something like the Madrid system for trademarks but for patents that gives you international protection for it by registering in one place?

Is there something like the Madrid system for trademarks but for patents that gives you international protection for it by registering in one place?

The short answer is there is no equivalent for patents for the Madrid system for trade marks.
The closest thing is the PCT (Patent Cooperation Treaty) that covers most of the world:

some text

It buys the applicant more time (30 months from the earliest application) to settle their patent application and choose the countries that they want to proceed in (the PCT National Phase and PCT Regional Phase Entry systems) before actually filing the patent application in those territories. The Paris Convention, in contrast, only allows 12 months:

some text

The PCT system works out costing more if you have only a few territories of interest but starts to make more sense the more territories you want to gain protection in. Ultimately, a PCT application has to become a national application in each country of interest to you.

Mark Warburton About the author

The Intellectual Property Guru. His determination to protect innovation stems from a family legacy in which his grandfather, a genius inventor, had his innovations stolen and patented by someone he trusted, which led to his grandfather dying a pauper on a park bench. Mark is an international award winning lawyer and patent attorney and 3-time published author. His prowess in the court room sees him winning cases that others thought were unwinnable. Mark’s passion for protecting intellectual property shines through in his pro-bono legal mentoring, proactive legal workshops and 1-2-1 work with clients.