Here it is, I found it in Wikipedia:
States and Federal Districts with periodic (e.g., annual) vehicle safety inspections
Delaware (every year)
District of Columbia (every two years)
Hawaii (every year, except brand new vehicles receive an inspection valid for two years, ambulances, rental cars, vehicles used in public transportation, and other, every six months)
Louisiana (every year; emission test in the Baton Rouge metropolitan area)
Maine (every year; emission test in Cumberland County)
Massachusetts (safety inspection every year, emission inspection every two years. Brand new cars are not required to have an emissions test until the third model year, and cars that are model year 1983 or earlier are exempt from emissions testing. )
Minnesota (Motorcycles; Random, annual)
Mississippi (safety inspection every year)
Missouri (every two years; emissions testing in the St. Louis area)
New Hampshire (every year, emissions testing for vehicles equipped with OBD-II (model year 1996 and newer) )
New Jersey (safety and emissions testing every two years, brand new cars are exempt for the first four years provided the car remains with the same owner. Older cars registered as antiques do not require emissions testing.)
New York (safety and emissions test every year, method of emissions testing varies by county of registration: tail pipe emissions testing in New York City as well as the counties of Nassau, Suffolk, Westchester and Rockland, OBD-II emissions testing in upstate counties)
North Carolina (every year; emissions inspections in 48 of 100 counties (1996-newer, except new cars), exempting diesels and cars 35 years or older)
Pennsylvania(every year for most vehicles; every six months for tractor-trailers, school vehicles (including school buses and school vans), motor coaches, mass transit, ambulances, firetrucks, etc.; emissions inspections every year in 25 of 67 counties (no emission inspection for diesel vehicles))
Rhode Island (safety and emission inspection every two years)
Texas (every year; emission test in the largest urban areas - Houston Metro, Dallas Metroplex, Austin, San Antonio, and El Paso)
Utah (every two years for the first eight years, then every year)
Vermont (every year)
Virginia (every year; emission inspection every two years in urban and suburban jurisdictions in Northern Virginia)
West Virginia (every year - safety)
States with safety inspection only required prior to sale or transfer
Maryland (emission inspection required biennially)
States which only require federally mandated emissions inspections
Alaska (Municipality of Anchorage and Fairbanks North Star Borough) every two years, depending on age and type of vehicle
Arizona (Phoenix and Tucson metro areas only) annually, depending on age and type of vehicle )
California (for most ZIP Codes, every two years for all vehicles made after 1975 which are more than six years old)
Colorado (in some localities, every year or two, depending on age and type of vehicle )
Georgia (metropolitan Atlanta area only, every year, most recent three model year cars are exempt)
Illinois (Chicagoland and eastern suburbs of St. Louis, Missouri)
Indiana (Lake and Porter counties only, every two years)
New Mexico (Albuquerque metro area)
Nevada (Clark County and Washoe County areas)
Ohio (seven counties)
Oregon (Portland and Medford metro areas only)
Washington (urban areas of Clark, King, Pierce, Snohomish and Spokane counties)
Wisconsin (seven counties in Southeastern Wisconsin, every two years)