Thousand Oaks is the second-largest city in Ventura County, California, located in the northwestern part of Greater Los Angeles.