How many years is the duration of the invention patent?

Legal analysis: the protection period of invention patent is 20 years, and the protection period of utility model patent and design patent is 10 year.

Legal basis: Article 42 of the Patent Law of People's Republic of China (PRC) has a term of 20 years, and the term of utility model patent and design patent is 10 years, counting from the date of filing.