California requires a Smog Check for most gasoline, hybrid, and alternative-fuel vehicles from model year 1976 onward, and diesel vehicles from model year 1998 onward. Whether you actually need to get tested right now depends on why you're dealing with the DMV — renewing your registration, transferring ownership, or registering a car in California for the first time all have different rules.
Most vehicles need a Smog Check every two years as part of registration renewal. Your DMV renewal notice will tell you directly whether a test is due — it also says whether you must go to a STAR certified station. Vehicles eight model years old or newer are exempt from the renewal test and instead pay an annual smog abatement fee (see our exemptions guide for the exact fee amounts).
Change-of-ownership sales generally require a valid Smog Check certificate. For a private-party sale, the certificate has to be dated within 90 days of the sale; for a dealer sale, the dealer's certificate can be up to two years old. Vehicles four model years old or newer are exempt from this requirement and pay a smog transfer fee instead, and transfers between immediate family members (spouse, parent, child, sibling, grandparent, grandchild) are exempt entirely.
Bringing a vehicle into California from another state generally requires a Smog Check as part of first-time registration here, subject to the same model-year exemptions that apply to renewals.
The single most reliable answer is your DMV renewal notice — it states your specific requirement, including whether a STAR station is mandatory for your vehicle. If you don't have a notice in hand, the rules above cover the large majority of cases. Once you know a test is required, search by city or zip code to find a licensed station near you, with STAR certification and repair capability shown for each one.