(written from a Production point of view)
Throughout the history of Star Trek, the various television and movie productions have filmed at locations, predominantly in Southern California, to provide a broader scope and grandeur than can be achieved easily on a closed set. Even with the advent of CGI, location shoots have continued.
According to director David Livingston, Star Trek: Deep Space Nine was budgetarily designed to have five or six location shoots per year. (Star Trek: Deep Space Nine Companion (p. ?)) Livingston also mentioned that location shootings were always considered as "play days" or "picnics" by the crew and cast. ("New Life and New Civilizations", TNG Season 4 DVD special feature)
For "The Cage", Stage 15 housed the Enterprise bridge, the Orion courtyard, the Talosian menagerie, and the "Hellfire" sets, while Stage 16 had the rest of the Enterprise sets (transporter room, briefing room, Pike's quarters, corridors), as well as the surface of Talos IV, the Mojave parkland, and the Orion cavern. (These Are the Voyages: TOS Season One, 1st ed. pp. 56-62)
For "Where No Man Has Gone Before", Stage 15 housed all Enterprise sets, while Stage 16 had the exteriors of Delta Vega, and Stage 17 the interiors of the Delta Vega outpost. (These Are the Voyages: TOS Season One, 1st ed. pp. 87-90)
The Culver City soundstages, which dated back to Gone with the Wind (1939) and were seldomly maintained, were quickly deemed unusuable by the producers, who also wanted to keep a close watch on the show, so when Star Trek made it to series, the production was moved to Desilu's main studio lot at Gower Street, Hollywood. The series mainly utilized stages 9 and 10, which were later combined with the adjacent Paramount studios to form Paramount Stage 31 and Paramount Stage 32.
Stage 9 housed all Enterprise interiors, while the different alien worlds were built on Stage 10, which also had a cyclorama set, where planet exteriors could be filmed, using different colored lights to create alien atmospheres. (The Making of Star Trek, Inside Star Trek: The Real Story)
The "Arab Village" section of Desilu's 40 Acres backlot (formerly owned by RKO-Pathé) was used to film the Rigel VII exteriors in "The Cage", marking the first time an outdoors location was utilized for Star Trek. Filming took place on 14 December 1964 and 15 December 1964. The same location was used to depict the exteriors of Organia in the first season episode "Errand of Mercy", filmed on 27 January 1967. (These Are the Voyages: TOS Season One, 1st ed. pp. 61, 499-500)
A different section of the 40 Acres backlot, best known for being used by The Andy Griffith Show as the town of Mayberry, served as filming location on the first season episodes "Miri", "The Return of the Archons", and "The City on the Edge of Forever", depicting the exteriors of Miri's planet, Beta III, and 1930 New York City respectively. Filming took place on 24 August 1966, 7 December 1966, 8 December 1966, and 3 February 1967. (These Are the Voyages: TOS Season One, 1st ed. pp. 258, 440, 516)
The lush exteriors of the Shore Leave Planet in "Shore Leave" were filmed at Africa USA Ranch, a wildlife preserve in Soledad Canyon, Los Angeles County that featured exotic animals from around the world, which existed at that time in the Antelope Valley in Southern California.  Filming took place between 19 October 1966 and 24 October 1966. (These Are the Voyages: TOS Season One, 1st ed. pp. 375-377)
Another frequent (and now iconic) Star Trek location, the unique slanting points of the Vasquez Rocks Natural Area Park in Southern California's Antelope Valley in Agua Dulce, Los Angeles County was also used to depict the Shore Leave Planet, filmed on 25 October 1966 and 26 October 1966. (These Are the Voyages: TOS Season One, 1st ed. pp. 377-378)
The series returned to Vasquez Rocks to film the exteriors of the Metron planetoid in "Arena", for which the location is most often remembered.  Filming took place on 9 November 1966 and 10 November 1966. (These Are the Voyages: TOS Season One, 1st ed. pp. 403-404)
The exteriors of the destroyed Cestus III colony in "Arena" were filmed at an outdoors set near Vasquez Rocks, originally built for the series Tales of the 77th Bengal Lancers in 1956. Filming took place on 11 November 1966. (These Are the Voyages: TOS Season One, 1st ed. p. 405)
Vasquez Rocks also served as filming location to depict the surface of Lazarus' planet in "The Alternative Factor", filmed on 22 November 1966 and 23 November 1966, and that of Capella IV in the second season episode "Friday's Child", filmed on 24 May 1967 and 25 May 1967. (These Are the Voyages: TOS Season One, 1st ed. pp. 417-419; These Are the Voyages: TOS Season Two, pp. 86-88)
The outdoors sequences on Omicron Ceti III in "This Side of Paradise" were filmed on location at the Disney Golden Oak Ranch. However, due to guest star Jill Ireland's illness, some scenes were postponed and had to be filmed in Bronson Canyon, part of Griffith Park in Los Angeles, California, as the Golden Oak Ranch was booked for another production. Filming at the Ranch took place between 5 January 1967 and 9 January 1967, while the Bronson Canyon scenes were filmed on 13 January 1967. (These Are the Voyages: TOS Season One, 1st ed. pp. 473-476) 
The Deneva colony scenes in "Operation -- Annihilate!" were filmed at the then futuristic TRW Space and Defense Park in the city of Redondo Beach, California. Filming took place on 15 February 1967. (These Are the Voyages: TOS Season One, 1st ed. p. 529)
The crew returned to Bronson Canyon, close to the Hollywood sign, to film the exteriors as well as the cavern interior scenes on planet 892-IV in the second season episode "Bread and Circuses", filmed on 12 September 1967 and 13 September 1967. (These Are the Voyages: TOS Season Two, pp. 343-344) 
For "A Private Little War" outdoor scenes on planet Neural were filmed on location at the Bell Ranch, separating the San Fernando Valley (in Los Angeles County) from Simi Valley (in Ventura County). Filming took place between 2 October 1967 and 4 October 1967. (These Are the Voyages: TOS Season Two, pp. 378-381)
After the Paramount-Desilu merge during the second season, Paramount soundstages, backlots and other facilities became available for the production.
The studio's large "B Tank" housed the village sets for "A Private Little War", which were built for another production and became availabe to Star Trek on short notice. These scenes were filmed on 6 October 1967. The same village sets were used to film the Kohm village exteriors on Omega IV in "The Omega Glory", shot on 19 December 1967. (These Are the Voyages: TOS Season Two, pp. 382, 576)
Many "outside" locations were filmed on the Desilu / Paramount studio lot, where real office buildings and other structures had been used for scenes in the series. The short newsreel footage of the police arrest in "Bread and Circuses" was filmed in front of a Paramount office building on 13 September 1967. (These Are the Voyages: TOS Season Two, p. 344)
For "Patterns of Force", the Directors' Building and the Producers' Building were both used as the Ekosian headquarters. Another location which was used for the episode was the Producer's Park on the Paramount lot. At the time of filming it was a wide free area and used to stand-in during car scenes. It was accessible by automobiles. Later it became a parking lot and today it is a green park area surrounded by offices. The Schulberg Building was also part of the same episode, used for the Ekosian headquarters. Today it is used for administrative purposes. The Lubitsch Building can be seen in the background when Kirk and Spock meet an Ekosian soldier. These scenes were filmed on 29 November 1967. (These Are the Voyages: TOS Season Two, p. 547)
In "Assignment: Earth", when Kirk and Spock beam in to McKinley Rocket Base to try to stop Gary Seven, the shots of the NASA building were taken just behind the Marlene Dietrich Building, which currently houses Paramount's Media Relations department. In addition, a false front was added on to the northwest corner of the Dietrich building so it could be used as the opening to Gary Seven's New York office. These scenes were filmed on 8 January 1968. (These Are the Voyages: TOS Season Two, pp. 595-596)
The "McFadden Street" and "Boston Street" backlots were used to depict the Sigma Iotia II city exteriors in "A Piece of the Action". Filming on these locations took place on 6 November 1967 and 7 November 1967 respectively. (These Are the Voyages: TOS Season Two, pp. 494-495)
The Franklin Canyon Reservoir in the Santa Monica Mountains, Beverly Hills, Los Angeles County was used to film the exteriors of Amerind in the third season episode "The Paradise Syndrome". Filming took place between 12 June 1968 and 14 June 1968.  (These Are the Voyages: TOS Season Three, pp. 120-122)
The only other location shoot in season 3 took place at the aforementioned "European Town" backlot which was used to depict the town in Sarpeidon's "witchcraft" age in "All Our Yesterdays". Filming took place on 20 December 1968. (These Are the Voyages: TOS Season Three, pp. 617-618)
Episodes filmed on location
- "The Cage"
- "Miri" (Season 1)
- "Shore Leave"
- "The Alternative Factor"
- "The Return of the Archons"
- "This Side of Paradise"
- "Errand of Mercy"
- "The City on the Edge of Forever"
- "Operation -- Annihilate!"
- "Friday's Child" (Season 2)
- "Bread and Circuses"
- "A Private Little War"
- "A Piece of the Action"
- "Patterns of Force"
- "The Omega Glory"
- "Assignment: Earth"
- "The Paradise Syndrome" (Season 3)
- "All Our Yesterdays"
On Friday 29 May 1987, the holodeck park scenes for the pilot episode "Encounter at Farpoint" were filmed at Fern Dell, Griffith Park in Los Angeles, California. (Star Trek: Deep Space Nine Companion (p. ?); Star Trek: The Next Generation Companion (? ed., p. ?)) According to the daily production report, this was the very first day of filming on the series.
In the first season episode "Justice", the Tillman Water Reclamation Plant was used as the main outdoor filming location. Later, most of the episodes, including "The First Duty", dealing with the Starfleet Headquarters and the nearby Starfleet Academy were shot at this site, with the filmed segments supplemented with matte backgrounds to fit in with the 24th century San Francisco. (Star Trek: The Next Generation Companion (? ed., p. ?)) Its address is 6100 Woodley Avenue, Van Nuys in the San Fernando Vally California. Many of the scenes were filmed at the Japanese Garden, Woodley Avenue Park, between Victory Boulevard and Burbank Boulevard, surrounding the plant designed by Dr. Koichi Kawana.   
The scenes in the 1941 San Francisco in the holodeck scenes of "The Big Goodbye" were filmed at Paramount Pictures New York Street backlot. (Energized! Taking The Next Generation to the Next Level, TNG Season 1 Blu-ray special feature)
The only location shoot in the second season, the scene in which Captain Picard visited the holodeck for an equestrian adventure in "Pen Pals", was filmed on a ranch near Thousand Oaks, a suburb of Los Angeles. (Star Trek: The Next Generation Companion (? ed., p. ?))
For "Who Watches The Watchers" and "Darmok", the new Enterprise cast and crew returned to the Vasquez Rocks Natural Area Park as a location. (Star Trek: The Next Generation Companion (? ed., p. ?)) 
For the third season episode "Ménage à Troi", the production filmed the surface of Betazed at the Huntington Library botanical gardens in San Marino, a suburb of Los Angeles. (Star Trek: The Next Generation Companion (? ed., p. ?))
A private residence on Venture Blvd. in Encino stood in as the Picard family home in Labarre, France in the episode "Family". The vineyard scenes in this episode were filmed at a private dryland operation near Lancaster in the southwest of Edwards Air Force Base in Palmdale. (Star Trek: The Next Generation Companion (? ed., p. ?), "New Life and New Civilizations", TNG Season 4 DVD special feature)
For the episode "Final Mission", the El Mirage Dry Lake Bed in San Bernardino County, east of Los Angeles was used to portray the surface of Lambda Paz. (Star Trek: The Next Generation Companion (? ed., p. ?))
The fourth season episode "Qpid" featured scenes in the Sherwood Forest which were actually filmed at one day location shooting on Tuesday 12 February 1991 in the Descanso Gardens, northeast of northeastern Los Angeles suburb Glendale. (Star Trek: The Next Generation Companion (? ed., p. ?))
The fifth season episode "Darmok" also featured the Bronson Canyon location, part of Griffith Park, below the famous Hollywood sign to stand in as the surface of El-Adrel IV. The scenes for this episode were filmed on 23 July 1991 and 24 July 1991 under director Rick Kolbe. The next episode, "Ensign Ro", featured the same location to portray the Bajoran refugee camp on Valo II. (Star Trek: The Next Generation Companion (? ed., p. ?))
The opening scenes of the episode "Silicon Avatar" showed the Golden Oak Ranch, also known as the Disney Ranch, in the Santa Clarita Valley, north of Los Angeles as the surface of Melona IV. (Star Trek: The Next Generation Companion (? ed., p. ?))
Another episode of TNG's fifth season featured a brief location shooting. The episode "The Inner Light" had Picard on a hiking trip. This scene was filmed again at Bronson Canyon in Griffith Park and later upgraded with matte paintings. (Star Trek: The Next Generation Companion (? ed., p. ?))
For the episode "Time's Arrow" location shootings were filmed at the historic Pico House and along Olvera Street in old Los Angeles which stood in for the exterior shots of San Francisco. (Star Trek: The Next Generation Companion (? ed., p. ?)) For the second part, "Time's Arrow, Part II", the scenes were filmed at Paramount's newly-built New York Street backlot. (Star Trek: The Next Generation Companion (? ed., p. ?); )
The sixth season episode "A Fistful of Datas", which featured a western town, was filmed on a day at the Six Points Texas backlot of the Universal Studios, known as the "Western Town", 100 Universal City Plaza, Universal City, California, USA. (Star Trek: The Next Generation Companion (? ed., p. ?))
Although "Tapestry" featured no location shooting, non Trek sound stage 10 was used to house the set of the Bonestell Recreation Facility at Starbase Earhart. (Star Trek: The Next Generation Companion (? ed., p. ?))
For the season cliffhanger "Descent" and the opening episode of the seventh season "Descent, Part II", the crew went on location to shoot several outdoor scenes. Lore's Borg compound was the Brandeis-Bardin Institute and the wood scenes were filmed in the area surrounding the building in Simi Valley, northwest of Los Angeles. (Star Trek: The Next Generation Companion (? ed., p. ?))
For the surface of Kesprytt III in the episode "Attached", the familiar location of Griffith Park's Bronson Canyon was again used. This time the crew went to the location near the Hollywood sign for a two day shoot. (Star Trek: The Next Generation Companion (? ed., p. ?))
During the location shooting in Griffith Park's Bronson Canyon for the episode "Homeward" in which the location stood in as surface of Boraal II the crew had to break the filming on 2 November 1993 because of the heavy wildfires in that area. According to line producer Merri D. Howard, director Alexander Singer was thankful that the area they've chosen did not burn down and that it was not necessary to search a similar location. (Star Trek: The Next Generation Companion (? ed., p. ?))
The holodeck scenes in the episode "Emergence" were filmed on Paramount Pictures' own New York Street backlot, which was largely unaltered for the episode. (Star Trek: The Next Generation Companion (? ed., p. ?))
The last episode of the series, "All Good Things...", featured a short scene at the Picard vineyards which was filmed at Callaway Vineyard & Winery in Temecula, California instead of the previous used location near Lancaster for the episode "Family". (Star Trek: The Next Generation Companion (? ed., p. ?))
Episodes filmed on location
- "Encounter at Farpoint" (Season 1)
- "Pen Pals" (Season 2)
- "The Survivors" (Season 3)
- "Who Watches The Watchers"
- "Ménage à Troi"
- "Family" (Season 4)
- "Final Mission"
- "Darmok" (Season 5)
- "Ensign Ro"
- "Silicon Avatar"
- "The First Duty"
- "The Inner Light"
- "Time's Arrow"
- "Time's Arrow, Part II" (Season 6)
- "A Fistful of Datas"
- "Descent, Part II" (Season 7)
- "Gambit, Part I"
- "All Good Things..."
The sequence where Benjamin Sisko and his son Jake sit on a covered bridge within the holodeck and where Benjamin and Jennifer sat down for a picnic were actually filmed at the Golden Oak Ranch, which is operated by the Walt Disney Company. The ranch is located at 19802 Placerita Canyon Road, Newhall, California. (Star Trek: Deep Space Nine Companion (p. ?))  The flashback scenes at the Gilgo Beach in "Emissary" were filmed at the Leo Carrillo State Beach in Malibu, Los Angeles County.  Jadzia Dax' perspective of the wormhole terrain was filmed at the Huntington Garden in San Marino while the baseball field sequence was filmed at the Oak Grove Park in Pasadena. (Star Trek: Deep Space Nine Companion (p. ?))
The Bajoran Monastery of the Kai garden scenes in the first season episode "In the Hands of the Prophets" in 1993 were filmed at Fern Dell, a section of Griffith Park. (Star Trek: Deep Space Nine Companion (p. ?)) 
Filming for the first episode of the second season began on 7 July 1993 in a working rock quarry in Soledad Canyon, north of Los Angeles. Director Winrich Kolbe previously wanted to use Bronson Canyon as the location for Cardassia IV, but admitted that "the damn place has been shot so often, there's not a square inch that hasn't been filmed by somebody". (Star Trek: Deep Space Nine Companion (p. ?))
For the second episode of the second season, "The Circle", the production team returned to Griffith Park's Fern Dell, which was again used to portrayed the Monastery of the Kai garden on Bajor. Another section of the Griffith Park, the bird sanctuary, was used to film O'Brien's decoy scenes in the episode "Paradise". (Star Trek: Deep Space Nine Companion (p. ?))
As the compound of the Albino on Secarus IV, a large house designed by architect Frank Lloyd Wright, located in Pasadena was used while the interior shots were filmed on Paramount Stage 18. The blown up miniature of the house, created by Dan Curry's team was filmed on the top of Paramount's Van Ness parking structure. (Star Trek: Deep Space Nine Companion (p. ?))
Several exterior scenes from Sisko's and Quark's camping trip into the Gamma Quadrant on an unnamed planet where they met Eris were filmed again at Griffith Park's bird sanctuary. (Star Trek: Deep Space Nine Companion (p. ?))
For the third season episode "Meridian", the production team returned to Huntington Garden in San Marino which was used to portray the exterior shots on the planet Meridian. (Star Trek: Deep Space Nine Companion (p. 187)) Location filming took place on Monday 26 September 1994 with actors Terry Farrell and Brett Cullen and Stunt Coordinator Dennis Madalone.
San Francisco's Sanctuary Districts in the episodes "Past Tense, Part I" and "Past Tense, Part II" were filmed at the New York Street on Paramount's back lot and were the largest exterior shows in Deep Space Nine's history according to Steve Oster. (Star Trek: Deep Space Nine Companion (p. ?))
The hellish Soledad Canyon was again used to portray the desert like surface of Dozaria for the fourth season episode "Indiscretion". Producer Steve Oster and director LeVar Burton both remembered the extreme heat during shooting. (Star Trek: Deep Space Nine Companion (p. ?))
For the episode "Little Green Men", Paramount Pictures' construction department headquarters, the Paramount Wood Mill, was used to portray Hangar 18, a military base on Earth. The Mill was located near Paramount Stage 18 on the Paramount lot. (Star Trek: Deep Space Nine Companion (p. ?))
"Paradise Lost" was an episode which led the characters back to Earth to visit the Starfleet Headquarters. For these scenes the Tillman Water Reclamation Plant, 6100 Woodley Avenue, Van Nuys, Los Angeles, California, including its park was again used to portray the Starfleet location. (Star Trek: Deep Space Nine Companion (p. ?)) 
The exterior shots of the Teplan homeworld's main city were shot on location at a mountaintop in the northwest corner of the San Fernando Valley. After art director Randy McIlvain and his team completed the set of the town with twenty foot walls it started to rain and the water-based paint was washed off and no electrical equipment could be used. The sets had to be rebuilt what was leading the shooting and director Rene Auberjonois off schedule. (Star Trek: Deep Space Nine Companion (p. ?))
Just one episode later, "To the Death", director LeVar Burton and the production team went out to use Griffith Park's bird sanctuary again, this time as the wooden surface of Vandros IV. Because the team only had one day filming on location several close-ups were later filmed on the sound stage with trees in the background. B.C. Cameron also remembered Burton and herself visiting the location at the day before and the only way up to this location was using golf carts. (Star Trek: Deep Space Nine Companion (p. ?))
For the second episode of the fifth season, "The Ship", the production team went back to Soledad Canyon to film the scenes with the crashed Jem'Hadar ship on Torga IV. Again it was like the air temperature was over 100 degrees and director Kim Friedman and assistant director Louis Race remembered the unique set of the crash-landed ship. (Star Trek: Deep Space Nine Companion (p. ?))
Mount Whitney in central California, near the city Lone Pine, was chosen to be the location for the episode "The Ascent" in which Odo and Quark crash-landed on an uninhabitable planet in the Gamma Quadrant. Steve Oster chose this location since he took an annual trip there. Oster also led the crew to an old US Forestry Service road and director dubbed the location "Steve's Rock". (Star Trek: Deep Space Nine Companion (p. ?))
For the episode "Rocks and Shoals", part of the sixth season opening arc, the crew went to Sun Valley in the north of Los Angeles and filmed the battle and beach sequences in a rock quarry. The wider view of the ocean was later added in post production. (Star Trek: Deep Space Nine Companion (p. ?))
For the episode "Change of Heart" the production crew thought about a location shooting because of the story between Dax and Worf who crash-landed in a jungle vegetation. Griffith Park's Fern Dell and the nearby Angeles National Forest were considered, but because of the effect heavy opening story arc of the season and very detailed episodes such as "Far Beyond the Stars" the crew and the greens department filled Paramount Stage 5 with all of their trees and plants and used the sound stage instead of the outdoor location. (Star Trek: Deep Space Nine Companion (p. ?))
"Time's Orphan"'s picnic scene of the O'Brien's was filmed at Malibu State Park, which was used as location for productions such as Planet of the Apes and M.A.S.H. (Star Trek: Deep Space Nine Companion (p. ?))
The desert scenes for the seventh season episode "Shadows and Symbols" were shot in Lancaster, California near Palmdale at the Club Ed, 42848 150th Street East Lancaster on 20 July 1998 and 21 July 1998. The actors and crew resided at the local Holiday Inn hotel While the main actors, Avery Brooks, Cirroc Lofton, Nicole de Boer, and Brock Peters filmed their scenes finding the orb, the photo doubles Steve Wilson, Jennifer Berlant, Todd Slayton, and John Lendale Bennett filmed their walk across the sand dunes in the second unit. (Star Trek: Deep Space Nine Companion (p. ?); call sheets and location map)
For the holographic baseball field scenes in the episode "Take Me Out to the Holosuite", Steve Oster was able to strike a deal with the Loyola Marymount University in Los Angeles, a campus facility near the ocean. (Star Trek: Deep Space Nine Companion (p. ?))
Episodes filmed on location
- "Emissary" (Season 1)
- "In the Hands of the Prophets"
- "The Homecoming" (Season 2)
- "The Circle"
- "Blood Oath"
- "The Jem'Hadar"
- "Meridian" (Season 3)
- "Past Tense, Part I"
- "Past Tense, Part II"
- "Indiscretion" (Season 4)
- "Little Green Men"
- "Paradise Lost"
- "The Quickening"
- "To the Death"
- "The Ship" (Season 5)
- "Nor the Battle to the Strong"
- "Let He Who Is Without Sin..."
- "The Ascent"
- "Children of Time"
- "Rocks and Shoals" (Season 6)
- "Far Beyond the Stars"
- "Time's Orphan"
- "Shadows and Symbols" (Season 7)
- "Take Me Out to the Holosuite"
The pilot episode of Star Trek: Voyager, "Caretaker", was the first episode of the series which used several filming locations outside of the Paramount Studios. The first filming took place at the Los Angeles Convention Center which stood in for the Ocampa underground city on Tuesday 20 September 1994 and Wednesday 21 September 1994. Re-shoots within this location were filmed on Monday 12 December 1994. On Tuesday 27 September 1994 and Wednesday 28 September 1994 production went to the El Mirage Dry Lake Bed to film the scenes at the Kazon-Ogla camp. (On Location with the Kazons, VOY Season 1 DVD special feature)
The third filming location for the pilot was Paddison Farm in Norwalk which was used to portray the farm seen aboard the Caretaker's array. Filming took place on Tuesday 4 October 1994 and Wednesday 5 October 1994. The fourth and final filming location for "Caretaker" was Griffith Park which was chosen to represent the construction site at the New Zealand Penal Settlement. Filming took place on Thursday 6 October 1994. (A Vision of the Future - Star Trek: Voyager, p. 292)
The Tillman Water Reclamation Plant again showed up as a power plant on the unnamed planet in the episode "Time and Again". According to the call sheet, location filming took place on Tuesday 8 November 1994.
Outdoor scenes in the teaser of "State of Flux" were filmed at Bronson Caves in Bronson Canyon. Location filming took place on Wednesday 1 February 1995 and included the hillside as well as the inside of the caves as described on the episode's call sheet.
Parts of Bronson Canyon were again used for "The 37's". The scenes on the unnamed planet in the Delta Quadrant and most of the scenes involving the first landing of the USS Voyager on a planet were filmed in Bronson Canyon, near Hollywood. (VOY Season 2 DVD, trivia text version of "The 37's")
Location filming for "Future's End" and "Future's End, Part II" took place in several areas of Los Angeles, most notably including the Santa Monica Pier and Griffith Observatory. Furthermore, the teaser of "Future's End, Part II" was filmed on the Paramount Pictures lot, with the Paramount Administration Building appearing in the background of some shots. (Star Trek: Voyager Companion)
For the fourth season opening episode, "Scorpion, Part II", the second unit filmed two short scenes on the grassy area in front of the Paramount Administration Building. The scene, a flashback into the youth of Seven of Nine, was filmed with actors David Anthony Marshall, Nikki Tyler, and Erica Bryan on Thursday 17 July 1997.
For the third filmed episode of the fourth season, "Nemesis", the production spent two days at the Warner Bros. backlot, filming scenes at the "Jungle set". On Monday 23 June 1997, and Tuesday, 24 June 1997, this location stood in as the surface of a planet in the Delta Quadrant. A whole set, the Larhana settlement, was built at this location. Beside main cast members Robert Beltran and Tim Russ, a group of guest actors, background performers, and stunt performers started filming at 7:15 am. Lisa White worked as location manager on this episode.
For the production of the fourth season episode "Concerning Flight", the Boyle Bros. Ranch in Chatsworth stood in as the landscape outside of the city on an alien planet. It was filmed on Monday 15 September 1997 and a map was attached to the call sheet for this day. The following day, Tuesday 16 September 1997, the production went on location to the LA DWP Valley Generating Station which stood in as Tau's storage facility. A map was also attached to the call sheet.
The Japanese Garden, Woodley Avenue Park, between Victory Boulevard and Burbank Boulevard, 6100 Woodley Avenue, Van Nuys in the San Fernando Vally California was again used to portray the Starfleet Academy parks in the episode "In the Flesh". 
Paramount's New York Streets backlot was again used for the episode "11:59".
The jungle scenes in the Hirogen training facility in the seventh season episode "Flesh and Blood" were filmed at the Warner Bros. backlot in late August 2000. Again, Lisa White served as location scout. The call sheets for the episode featured the notes "Rain or Shine" and "Be Prepared for summer weather, bugs, bees and other natural occurrences".
Other locations include the Bronson Caves in Bronson Canyon, Griffith Park, Los Angeles and Burbank, Los Angeles County. 
Episodes filmed on location
- "Caretaker" (Season 1)
- "Time and Again"
- "State of Flux"
- "The 37's" (Season 2)
- "Non Sequitur"
- "Death Wish"
- "Basics, Part I"
- "Basics, Part II" (Season 3)
- "Future's End"
- "Future's End, Part II"
- "The Q and the Grey"
- "Scorpion, Part II" (Season 4)
- "Concerning Flight"
- "The Killing Game"
- "In the Flesh" (Season 5)
- "Fair Haven" (Season 6)
- "Spirit Folk"
- "Inside Man" (Season 7)
- "Flesh and Blood"
- "Natural Law"
The pilot episode "Broken Bow" features the city Malibu in three scenes which were filmed on 19 June 2001. Malibu stood in for Hoshi Sato's exterior classroom in Brazil and the surrounding area and for the flashback scenes on the beach. Another location was the city Bakersfield, which stood in for Broken Bow. The scenes involving the Klingon Klaang, the silo explosion, and the meeting with farmer Moore which were filmed on 12 June 2001 and 13 June 2001.
For the episode "Strange New World", the surface of Archer IV was filmed at the Golden Oak Ranch, while the cavern interiors were shot at Bronson Canyon. (Star Trek Encyclopedia (4th ed., vol. 1, p. 38))
The highway, seen in the episode "Carbon Creek", is California State Route 138 around Crestline, California. The Main Street is largely Waters Drive,  along which are Johnnies Market and General Store, Madeline's cafe, the Crestline station of the Crest Forest Fire District, and the Pine Tree Bar and Grill  across the street from the Vulcans' apartment.  All the location shots were filmed near San Bernardino, California. Several back-up shots were later filmed on the Paramount backlot.
The production crew spent five days on location, shooting the episode "Marauders". They went to a rock quarry in Ventura County, northwest of Los Angeles, to shoot the scenes at the mining colony including two dozens of extras and a few Klingon stuntmen.
For practicing climbing scenes for the episode "The Breach", stunt coordinator Vince Deadrick, Jr. brought Connor Trinneer, Anthony Montgomery, and Dominic Keating to Stoney Point in the northwest of Los Angeles County. Later they've continued to practice and learned the rappelling techniques at a thirty-foot climbing wall on a private location. The actual scenes in the episode were later filmed on the Paramount sound stage.
The deleted scenes including Chinatown and the Chinese restaurant in the episode "The Expanse", where Jonathan Archer and Becky met in were filmed at Paramount's New York Streets backlot which was also used to portray the space in front of Starfleet Headquarters.
"North Star" was the first episode of the third season which used a fully outdoor location. The production crew used the Western Town of the Universal Studios backlot as the location of the town and remained there during their seven days schedule. The Western Town set includes the main street, a livery stable, the schoolhouse, and the saloon. For one scene a shuttlepod set dressing was brought into the Western Town.
For the episode "Carpenter Street" the production crew and actors Scott Bakula, Jolene Blalock, and Leland Orser filmed their scenes in downtown Los Angeles which stood in as Detroit. After these scenes the team went to the Lacy Street Production Center near Dodger Stadium, a studio northwest of downtown. It included all the exterior scenes in the Carpenter Street and the nearby rooftops and dark alleys. For the final days, Paramount's New York Street backlot was used for filming at the same location where Marlon Brando's character was shot in the movie The Godfather.
The final day of shooting for the episode "Storm Front", (29 July 2004), was done at Sable Ranch in Canyon Country, near Santa Clarita in the north of Los Angeles which stood in as the wood. Prior scenes were filmed at Paramount's New York Streets backlot, which was turned into a Nazi-occupied New York. Several places of the New York Streets backlot may look familiar as they were used in previous episodes, including TNG: "Time's Arrow", VOY: "11:59", VOY: "Non Sequitur", and ENT: "Carpenter Street".
Shooting for the episode "Storm Front, Part II" began 21 July 2004, and the second day of shooting on the episode took place at Griffith Park, in Los Angeles, California. It was a short day, only 6.5 hours long, and came in well under budget. Two scenes were done featuring Scott Bakula, Connor Trinneer, Anthony Montgomery, Jack Gwaltney, and several extras as Nazis and MACOs. The Paramount New York Streets backlot was again used to portray New York.
The scenes in the Vulcan's Forge in the episode "The Forge" were filmed at an industrial site in Simi Valley, Ventura County, in the northwest of Los Angeles. The location shooting included two days and actors Scott Bakula, Jolene Blalock, and Michael Nouri. The location used is owned by the mining company P.W. Gillibrand and was later enhanced in post production.
For the episode "Affliction" the story was placed on Earth in San Francisco, near Madame Chang's Mandarin Cafe, which was actually filmed on the Paramount lot between the studio's Administration building and another building which was also used as the high school in Happy Days.
The Paramount Wood Mill was used as location for the episodes "Demons" and "Terra Prime" for scenes in which Lieutenant Reed met Harris in an alley near the San Francisco Bay. For the same episodes the Paramount Theater was used again. This time it portrayed the Assembly Hall of Starfleet Command during the interstellar conference. The Paramount Theater was also the place where the first screenings for several Trek series were held, including the Enterprise episodes "Broken Bow" and "Storm Front".
On day of shooting for the episode "Home" was done on location. For the scene in which the characters of Scott Bakula and Ada Maris go on a climbing trip, the Malibu Creek State Park filled in as location.
Another location was the Valley of Enchantment, San Bernardino National Forest, California. 
Episodes filmed on location
- "Broken Bow" (Season 1)
- "Strange New World"
- "Terra Nova"
- "Desert Crossing"
- "Carbon Creek" (Season 2)
- "The Expanse"
- "The Xindi" (Season 3)
- "North Star"
- "Carpenter Street"
- "Storm Front" (Season 4)
- "Storm Front, Part II"
- "Cold Station 12"
- "The Forge"
- "Terra Prime"
Filming for the first season took place between January 2017 and October 2017, and for the second season between April 2018 and December 2018, and for the third season between July 2019 and February 2020. Filming for the fourth season began in November 2020 and finished in August 2021. Filming for the upcoming fifth season began in June 2022. 
In the pilot episode, "The Vulcan Hello", Wadi Rum, the largest desert canyon in Jordan was used to portray the early scene on the surface of the Crepusculan homeworld including lead actress Sonequa Martin-Green and Michelle Yeoh.  The spacewalk sequence and fight scene between Martin-Green and Justin Howell was shot at Paramount Stage 16 under Stunt Coordinator Joel Kramer. (AT: "O Discovery, Where Art Thou?", Information from Joel Kramer)
The exterior shots of Hima in "That Hope Is You, Part 1" and the exterior shots of "the Colony" in "Far From Home" were filmed in Iceland.  Locations in Iceland include the Eldhraun Lava Field, the Goðafoss and Seljalandsfoss waterfalls, Lake Kleifarvatn Beach, the Kerlingardalsvegur clifftop, the crater of the Hverfjall volcano, and the Sólheimajökull glacier. 
The interiors of the holographic environment on the KSF Khi'eth in "Su'Kal" and "That Hope Is You, Part 2" were partly filmed at the historic former prison Kingston Penitentiary (now serving as a museum) in Kingston, Ontario.  
Episodes filmed on location
- "The Vulcan Hello" (Season 1)
- "Si Vis Pacem, Para Bellum"
- "The Wolf Inside"
- "Will You Take My Hand?"
- "Brother" (Season 2)
- "New Eden"
- "The Sound of Thunder"
- "Light and Shadows"
- "If Memory Serves"
- "Project Daedalus"
- "The Red Angel"
- "Perpetual Infinity"
- "Through the Valley of Shadows"
- "Such Sweet Sorrow"
- "That Hope Is You, Part 1" (Season 3)
- "Far From Home"
- "People of Earth"
- "Forget Me Not"
- "The Sanctuary"
- "Terra Firma, Part 1"
- "Terra Firma, Part 2"
- "That Hope Is You, Part 2"
- "Kobayashi Maru" (Season 4)
- "All Is Possible"
- "The Galactic Barrier"
The shuttle stop in the same episode was filmed at Sherbourne Common park in Toronto. 
Episodes filmed on location
Unlike Star Trek: Discovery, Picard was filmed in California, however, instead of the Paramount Pictures lot in Hollywood, the series was housed at the soundstages of Santa Clarita Studios in Santa Clarita. 
The Sunstone Winery in Santa Ynez, California was used to film the Château Picard scenes in the first season episodes "Remembrance", "Maps and Legends", "The End is the Beginning", and "Absolute Candor", and the second season episodes "The Star Gazer", "Penance", "Watcher", "Two of One", "Monsters", "Hide and Seek", and "Farewell". 
The Starfleet Headquarters and Starfleet Archive Museum exteriors and interiors in "Remembrance", "Maps and Legends" and "The End is the Beginning" were filmed at the Anaheim Convention Center in Anaheim, California, and at the College of the Canyons Valencia university campus in Santa Clarita.  
The exteriors of the Daystrom Institute seen in "Remembrance", "The End is the Beginning", and "Nepenthe" were filmed at the Golden Cove semicircular beach in Rancho Palos Verdes, California, and enchanced with a digital matte painting. 
The exteriors of Raffi Musiker's home in "Maps and Legends" and "The End is the Beginning" were filmed at the classic Star Trek location, Vasquez Rocks Natural Area Park. This was the first time that the location portrayed "itself" in Star Trek.
The exterior establishing shots of Stardust City in "Stardust City Rag" were filmed at the Hollywood CityWalk promenade, located next to Universal Studios, and were heavily enchanced with CGI elements.
The exteriors and interiors of the Troi-Riker house in "Nepenthe" were also filmed at the Universal backlot, at a log cabin built for the 1988 film The Great Outdoors, and utilized in other productions as well. Filming took place between 2 August 2019 and 9 August 2019.  
The Starfleet Academy interiors in "The Star Gazer", and the scenes set in the Presidental Palace and at the Eradication Day rally in "Penance" were filmed at the Walt Disney Concert Hall in downtown Los Angeles. (TRR: "Penance")
The LAPD headquarters in "Watcher" and Los Angeles street scenes in "Assimilation" were filmed at Los Angeles Center Studios, a film facility on West 5th Street, downtown Los Angeles. The studio has 6 soundtages and several standing sets, including a police station. 
The car chase scenes in "Watcher" were filmed on the LA Live Way, between West Road and Olympic Boulevard, between Chick Hearn Court and West Road, and on West Road between LA Live and Georgia Street, in downtown Los Angeles.   
Episodes filmed on location
- "Remembrance" (Season 1)
- "Maps and Legends"
- "The End is the Beginning"
- "Absolute Candor"
- "Stardust City Rag"
- "Broken Pieces"
- "Et in Arcadia Ego, Part 1"
- "Et in Arcadia Ego, Part 2"
- "The Star Gazer" (Season 2)
- "Fly Me to the Moon"
- "Two of One"
- "Hide and Seek"
Star Trek: Strange New Worlds is filmed mainly at CBS Stages Canada in Mississauga, Ontario, Canada. Filming on the first season commenced in February 2021 and finished in July 2021. Production on the upcoming second season started in early-February 2022 and wrapped in late-June 2022.  
The series also heavily utilized a virtual production studio built in an industrial warehouse in Brampton, Ontario, having spent more than 100 filming days there in the first season. 
Like Star Trek: Discovery, Strange New Worlds mostly utilizes locations in the vicinity of Toronto and Mississauga and elsewhere in Ontario province for location shooting.
The exteriors of the abandoned Hetemit IX colony in "Ghosts of Illyria" were filmed at Ontario Place, an entertainment venue, event venue, and park in Toronto, located on the shore of Lake Ontario. 
The exteriors and interiors of the Majalan main palace in "Lift Us Where Suffering Cannot Reach" were filmed at Parkwood Estate in Oshawa, Ontario, the former residence of Samuel McLaughlin, founder of General Motors Canada and his family, currently a National Historic Site open to the public. 
Episodes filmed on location
The scene placed on Vulcan, shortly before the fal-tor-pan ceremony on Mount Seleya, was filmed at the fountain of Occidental College, 1600 Campus Road at Alumni Avenue, Eagle Rock, City of Los Angeles, California. 
The Voyage Home was filmed in large measure in the San Francisco Bay area in California. For example, the scene where Kirk just about gets hit by a car was filmed at the corner of Kearney, Pacific Avenue, and Columbus in downtown San Francisco Cetacean Institute, where the humpback whales known as "George and Gracie" were located, is the Monterey Bay Aquarium located south of San Francisco in the city of Monterey, 886 Cannery Row. The parking lot for the Klingon Bird-of-Prey, the Golden Gate Park, is actually the Will Rogers State Park, 14253 Sunset Boulevard, Pacific Palisades in Los Angeles. For the planet Vulcan was again used the Vasquez Rocks Natural Area Park, 10700 West Escondido Canyon Road, in Agua Dulce, in the high desert of Los Angeles.  Other locations in the movie were filmed on the USS Ranger in Alameda, Alameda County, Marin Headlands, Marin County, Oakland International Airport, Oakland, Alameda County, the Marin Drive near Fort Point at the Presidio of San Francisco, and the San Francisco locations Grant Avenue, Fresno Alley, Columbus and Mason, Golden Gate Bridge, and Marina Green. Underwater photography including the miniature whale models was filmed in a swimming pool at College of Marin in Indian Valley, Novato, Marin County.  The scenes at Plexicorp were filmed at Reynolds Polymer Technology Inc. (then Reynolds & Taylor, Inc.), 311 E. Alton Avenue, Santa Ana, Orange County.  Other locations in Southern California include the Centinela-Freeman Medical Center, 555 E. Hardy Street, Inglewood, Los Angeles County and the United States Naval Air Station North Island, Coronado, San Diego County.  . The
The final scenes with the Bird-of-Prey in the water and the main cast jumping into the water was filmed at Paramount's B Tank, a floodable parking lot of Paramount Pictures. (Star Trek: The Next Generation Companion (? ed., p. ?))
The opening climbing sequences of The Final Frontier were filmed at Yosemite National Park in California, namely the El Capitan and Inspiration Point. The Owens Dry Lake in the Mojave Desert in Lone Pine, Inyo County, Alabama Hills in central California stood in as Nimbus III while Trona Pinnacles Recreation Lands, and an area in the Searles Dry Lake Bed in Trona, San Bernardino County, central California, was used as Sha Ka Ree.    
The Undiscovered Country had a few notable filming locations. Some of the Rura Penthe sequences were filmed in northern Alaska, which marked the first time Star Trek had been filmed outside of the state of California. Bob Crockett and his company Alaska Locations, Inc. served as location scout for these scenes which were filmed at the Knik Glacier, Chugach State Park, Valdez-Cordova Census Area.    
In addition, internal and external shots for Camp Khitomer were filmed at the Brandeis-Bardin Institute, a religious retreat in Simi Valley, Ventura County in Southern California.  Additional shots, also for the matte painting, of Camp Khitomer were filmed at the Fireman's Fund Building in Novato, Marin County. 
The external shots of Rura Penthe were filmed at the Bronson Caves at Bronson Canyon, part of Griffith Park in Los Angeles, California. The interior shots of Rura Penthe were filmed on Paramount Stage 16. (David G. Trotti, ENT Season 2 DVD special "Enterprise Secrets") 
The Starfleet Headquarters briefing room scene was shot at the First Presbyterian Church of Hollywood, 1760 N. Gower Street in Hollywood, Los Angeles, Los Angeles County. The scenes were filmed on Wednesday the 5 June 1991 and Thursday the 6 June 1991.  
Silica Dome in the Valley of Fire State Park in Overton, Clark County, Las Vegas, Nevada was used as location of Veridian III, where the final scenes of the movie were also filmed, standing in as the location for the showdown. The place where Captain Kirk and Captain Picard first met was filmed at the Hart Flat Road in Keene, Kern County, central California and the owner received a new kitchen and staircase built for the movie, while the wide shot horse riding scenes with Kirk and Picard were filmed at William Shatner's own farm in the Alabama Hills in Lone Pine, Inyo County, including his own horses. (Star Trek: The Next Generation Companion (? ed., p. ?))    
The first scenes of the TNG crew aboard the holographic brig USS Enterprise where filmed aboard the Lady Washington a few miles offshore of Marina del Rey, Los Angeles. These scenes were filmed in five days and the anchors were dropped before sunup. (Star Trek: The Next Generation Companion (? ed., p. ?))
An elegant private mansion in Los Angeles, located at 465 South Grand Avenue, Pasadena, was used to portray the Nexus home of Captain Picard. (Star Trek: The Next Generation Companion (? ed., p. ?)) 
Two weeks of the shooting were held at the Big Bear Mountain range in Los Angeles. 
Scenes inside the missile complex housing Cochrane's Phoenix were filmed in four days at the Titan Missile Museum, 1580 West Duval Mine Road, Green Valley, Pima County, near Tucson, Arizona. The museum includes some memorabilia from the movie. (Star Trek: The Next Generation Companion (? ed., p. ?))  
The second location shoot was in the Angeles National Forest in Los Angeles County, including its Charlton Flats, in the San Gabriel Mountains which stood in for the village scenes, consisting of fourteen huts, placed in Bozeman, Montana. The crew shot these scenes in two weeks of nighttime including the first contact sequence filled with dozens of extras. (Star Trek: The Next Generation Companion (? ed., p. ?))  
The third and last location used of this film was an art deco restaurant in L.A.'s Union Station, 800 N. Alameda Street, Downtown, Los Angeles, California which was used to portray the Dixon Hill holodeck program dance hall. It was filled with ten musicians, fifteen stunt performers, and 120 background performers. (Star Trek: The Next Generation Companion (? ed., p. ?))  
The wood and field scenes were filmed on the Ventura Farms and near Thousand Oaks.   This shooting also included helicopter shots of the green area which were cut from the final movie. The scene between Anij and Captain Picard when she stopped the time was filmed at Ventura Farms. (Star Trek: Insurrection (Special Edition))
The Ba'ku village was built at Lake Sherwood, Westlake Village in Ventura County, near Thousand Oaks, and was the largest outdoor set ever planned for a Star Trek movie. (Star Trek: Insurrection (Special Edition)) (Star Trek: The Next Generation Companion (? ed., p. ?)) 
The scenes on the Ba'ku lake and Data's steps into the water where the holoship was placed were filmed at the San Gabriel Dam, Azusa, Los Angeles County and at Convict Lake, Mammoth Lakes, Mono County in the Sierra Nevadas. (Star Trek: Insurrection (Special Edition)) 
Several scenes during the trail of the Ba'ku and the fights with the Son'a on the mountains were filmed at Mammoth Mountain, Lake Sabrina, and the town Mammoth Lakes, Mono County in California. (Star Trek: Insurrection (Special Edition))
The close ups of Patrick Stewart, Donna Murphy, and Brent Spiner after their jumps into the water were filmed in Paramount's B Tank, a floodable parking lot at Paramount Pictures. (Star Trek: The Next Generation Companion (? ed., p. ?))
Locations include the midway between El Mirage Dry Lake in El Mirage, San Bernardino County and the Edwards Air Force Base which stood in for Kolarus III on an eight-day location shoot and the east side of Lancaster, off Avenue C between 235th and the San Bernardino County line, Lancaster, Los Angeles County.  (Star Trek: The Next Generation Companion (? ed., p. ?)) The areas near the town of Lancaster were close to Edwards Air Force Base and were used to represent Kolarus III. (Information from Larry Nemecek)
Vasquez Rocks Natural Area Park, 10700 West Escondido Canyon Road, near north Los Angeles was again used to portray the surface of the planet Vulcan. Scenes at the bar were filmed in an American Legion bar in Hollywood. The Oviatt Library at the California State University, Northridge and the Golden Gate Bridge in San Francisco were used as Starfleet Academy, upgraded with digital technology and blue and green screens.
In the Long Beach City Hall, 333 West Ocean Boulevard Kirk and Spock faced the trial after Kirk cheated at the Kobayashi Maru test while the ice planet Delta Vega was recreated at the parking lot of the Dodger Stadium, 1000 Elysian Park Avenue, downtown Los Angeles which was also the location for the Romulan drill platform. 
Other locations include the Budweiser Brewery, Anheuser-Busch, Inc., 15800 Roscoe Boulevard, Van Nuys, California as the machine room of the Enterprise and the Long Beach Generating Station at Terminal Island as the machine room of the USS Kelvin.  The Long Beach Generating Station was previously used to film the prison scenes placed on Rura Penthe which were deleted from the final movie. (Star Trek (Three disc Blu-ray) special "Starships")
Further scenes were filmed in Bakersfield, Kern County, California which stood in as Iowa; in Rose Hills Memorial Park, 3888 Workman Mill Road in Whittier, California, where the SkyRose Chapel was used as the building of the Vulcan High Council; and the Pastoria Energy Facility in Lebec, Kern County, California, which was used for the Riverside Shipyard.   
The opening scene on the surface of Nibiru was originally the set which should be filmed on location on the Hawaiian island of Kauai. VFX should later change digitally all green plants and trees into red. But the digital change, plus filming and transportation became too expensive and the art directors were asked to find a possible location in Los Angeles. Finding a suitable jungle location failed and the set was completely built on the parking lot of Raleigh Studios in Playa Vista. 
The first Star Trek feature film to be primarily filmed outside California, Star Trek Beyond was primarily shot at Vancouver Film Studios in Vancouver, British Columbia, Canada. Other locations in British Columbia were utilized for exterior filming.   
Between 25 June 2015 and 30 June 2015, the production filmed scenes in Squamish Boulders, Squamish, British Columbia, depicting the surface of Altamid. Filming took place around the Kacodemon Boulder and Cave Boulder for the first three shooting days. On the fourth day filming took place south of the Black Dyke Boulder. 
In mid-August 2015, the production filmed scenes at a large exterior set depicting the wreckage of the USS Franklin, along with a large green screen, built at Kent Hangar Field, west of Vancouver International Airport.  
On 27 August 2015 and 29 August 2015, Twitter users reported that Star Trek Beyond is filming at Triangle Road in Richmond, British Columbia, and at the Pitt River Quarries in Red Dear, British Columbia.  
Aside from British Columbia, the production filmed on location in Dubai, in October 2015.   Filming locations included the desert reserve Platinum Heritage and the Dubai Central Park Towers ground in front of the Central Park Tower and the Platinum Tower. These locations represented Starbase Yorktown in the film.     Principal photography wrapped in Dubai on Thursday 15 October 2015.