What counts as a lemon?
A lemon is a vehicle with a serious defect the manufacturer could not fix in a reasonable number of tries.
The usual test
Most states use two yardsticks: the same problem taken in three or four times, or the vehicle in the shop about 30 days in total. Either one can be enough.
The coverage period
The problem usually has to show up early: in the first year or two, or the first 12,000 to 24,000 miles. The numbers differ by state.
The kind of defect
It must matter. The law covers problems that hurt the vehicle's use, value or safety, not small rattles.
Safety defects
Many states ask for fewer tries when the defect could cause a crash or injury, such as brakes or steering.
Used and leased vehicles
Leased vehicles are covered in most states. Used vehicles are usually covered only while the original warranty is running, and a few states have their own used car law.
This is general information, not legal advice. Lemon laws are different in every state and they change. Your package uses your state's own numbers and tells you to confirm them.