A utility patent is for any new and useful machine, process, article of manufacture or composition of matter, or any new and useful improvement thereof (ex: a fishing lure, an exercise machine, a method for encrypting digital music files, etc.).
A utility patent lasts 20 years from the date it was filed for.
Below is an example of a utility patent obtained by IPA: