Where Was 13 Hours Filmed? Malta, Morocco and the Real Benghazi

Michael Bay’s 13 Hours: The Secret Soldiers of Benghazi is set in Libya, but not a single frame of it was shot there. So where was 13 Hours filmed? The short answer is the Mediterranean island of Malta, which built a full-size version of Benghazi for the cameras, plus a short shoot in Morocco around the capital, Rabat. Together, the two countries stood in for a city that was far too dangerous for a Hollywood crew.

As a Moroccan travel company, we get asked about films shot in Morocco all the time, and 13 Hours is one of the trickier ones. Plenty of websites claim it was filmed in Ouarzazate or among the kasbahs of the south. The public record doesn’t support that. In this guide we separate what’s documented from what’s guesswork, explain how Malta and Morocco doubled for Libya, and show you which locations you can actually visit.

QuestionAnswer
Where was 13 Hours filmed?Mainly in Malta, with a short shoot in Morocco
Was any of it filmed in Libya?No. Libya was not safe for filming
When was it filmed?Principal photography began on April 27, 2015
How long was the shoot?Michael Bay described about 50 shooting days, five of them in Morocco
Where in Morocco?Reports at the time placed the Moroccan shoot in the Rabat area, for exterior scenes
Where in Malta?Built sets plus real locations, including Albert Town in Marsa and the town of Mosta
Can you visit the locations?Yes, the Maltese and Moroccan towns are open to visitors, though the purpose-built sets are gone

13 Hours: The Secret Soldiers of Benghazi was released by Paramount Pictures on January 15, 2016, after a premiere at AT&T Stadium in Arlington, Texas. It’s based on the 2014 book 13 Hours by Mitchell Zuckoff, written with members of the security team, and the screenplay is by Chuck Hogan.

The film tells the story of the September 11, 2012 attack on the US diplomatic compound in Benghazi, Libya, and a nearby CIA annex, as experienced by six private security contractors working for the CIA. John Krasinski plays Jack Silva, James Badge Dale plays Tyrone Rone Woods, Pablo Schreiber, David Denman, Dominic Fumusa and Max Martini play the other members of the team, and Toby Stephens plays Glen Bub Doherty.

The film had a budget of around 50 million dollars and earned about 69.4 million worldwide. Some of its events, especially whether the team was told to stand down, are disputed by people involved, and the attack itself was the subject of several US congressional investigations. This guide focuses on where the film was made rather than on those debates.

To understand why the locations mattered so much, it helps to know the story the film is based on. On the night of September 11, 2012, armed militants attacked the US diplomatic compound in Benghazi, Libya’s second-largest city, then a nearby CIA annex. Four Americans were killed: Ambassador J. Christopher Stevens, information officer Sean Smith, and two CIA security contractors and former Navy SEALs, Tyrone Woods and Glen Doherty.

The film follows the contractors who responded from the annex, over roughly thirteen hours of fighting. Most of the action happens at night, in walled compounds, narrow streets and on rooftops. That’s why the production needed full control over its sets: it had to stage explosions, gunfire and vehicle chases night after night, and that is far easier on purpose-built sets in a stable country than on the streets of a real city.

The attack became a major political issue in the United States, and the film’s release in January 2016, during a presidential campaign year, drew strong reactions from different sides. Whatever your view of those debates, the film is a striking example of how a story set in one country can be filmed almost entirely in another.

When the film went into production in 2015, Libya was in the middle of a civil conflict, with rival governments and armed groups controlling different parts of the country. Benghazi itself saw heavy fighting in those years. Bringing a large Hollywood crew, actors, weapons props and pyrotechnics into that environment was out of the question.

So the producers did what filmmakers have done for decades when a story is set in North Africa or the Middle East: they looked around the Mediterranean for places that could convincingly play the part. Trade reports at the time said several options were considered, including Morocco, Malta, Jordan, Egypt, the Canary Islands and Dubai. Malta won the main shoot, and Morocco got a smaller piece.

Most of 13 Hours was filmed on Malta, the small island nation between Sicily and Libya. That geography is part of the appeal. Malta sits only a few hundred kilometers from the Libyan coast, and its older neighborhoods, flat-roofed stone buildings and harsh summer light can look very similar to coastal Libyan cities. Malta has doubled for Middle Eastern settings before, including scenes in World War Z and Captain Phillips.

Building Benghazi

Michael Bay later explained that there was no studio stage work on the film. Instead, the production built its main locations on site, including the diplomatic compound and the CIA annex, so they could be shot from every angle and damaged during the battle scenes. Reports from Malta describe the compound sets as purpose-built to be blown up and shot at, which suits a film where most of the action takes place over a single night.

Albert Town, Marsa

One of the best-documented real locations is Albert Town in Marsa, an industrial and harbor area near the capital, Valletta. During a press visit, Maltese officials showed the area dressed as downtown Benghazi, including the setting for a car chase through the city’s streets.

Mosta

The production also filmed in Mosta, a town in central Malta best known for its huge domed church, the Rotunda. Location reports from July 2015 placed Bay’s crew there, and some location guides link it to the film’s early embassy scenes.

Ta’ Qali

Several filming guides say large sets were built at Ta’ Qali, an open area near Attard and Mosta that has hosted big productions. This is widely repeated online, but it comes mostly from location websites rather than official statements, so treat it as likely rather than confirmed.

What it meant for Malta

According to Malta’s tourism minister at the time, the production put around 50 million dollars into the Maltese economy over a shoot of about three months, including preparation. Malta used the film’s success to promote its growing film industry and its tax incentives for foreign productions.

13 Hours used both countries, and that combination is common. Each offers something different to a film crew, and understanding the difference explains why Malta got most of this particular shoot.

MaltaMorocco
Best forMediterranean towns, harbors, compact urban setsDeserts, mountains, kasbahs, medinas and large modern cities
Distance between locationsVery short, the whole island is a short driveLong, locations can be hours apart
Landscape varietyLimited, mostly coastal and urbanHuge, from the Atlantic to the Sahara and the High Atlas
Famous productionsWorld War Z, Captain Phillips, Gladiator scenesGladiator, Game of Thrones, Black Hawk Down, The Mummy
Role in 13 HoursMain shoot, sets and most of the actionAbout five days of exteriors, reportedly around Rabat

For a film like 13 Hours, which takes place almost entirely in one city over one night, Malta’s compact size was a big advantage: crews could move between sets quickly and keep shooting through short summer nights. For films that need epic landscapes, desert crossings or ancient cities, Morocco is usually the obvious choice, which is why Ouarzazate earned the nickname Hollywood of Africa.

For travelers, Morocco has the edge. Beyond the film locations, you get one of the most varied countries in the world in a single trip, with a living culture that no set designer can fully reproduce.

Now for the part that matters most to our readers: was 13 Hours filmed in Morocco? Yes, but only briefly, and not where many people assume.

What’s documented

  • When the film was announced in early 2015, trade publications reported that Michael Bay would shoot on location in both Morocco and Malta.
  • Moroccan media reported that Bay had spent several days in the Rabat area preparing exterior scenes, with the Moroccan shoot planned for June 2015, while interiors and the main sets would be in Malta.
  • At the end of the Malta shoot, Maltese press reported that filming would resume in Morocco.
  • In a later interview, Bay described the whole shoot as about 50 days, of which five were in Morocco.
  • Moroccan actors appear in the film. Moroccan media named Mohamed Moutaouakil as the actor playing Muammar Gaddafi in the film’s opening news footage, and Moroccan actor Ahmed Hammoud, later known for Mimosas and Zanka Contact, has a small role as an attacker at the embassy. Several hundred extras played Libyan civilians and militiamen.

What isn’t documented

No official source we could find names the exact Moroccan streets or the specific scenes shot in Morocco. Some websites say 13 Hours was filmed at the Atlas Studios in Ouarzazate or around Ait Ben Haddou, but we haven’t found any reliable evidence for that, and the Moroccan reports from the time point to the Rabat area instead. If you see a very specific Moroccan filming location for 13 Hours online, be skeptical unless it cites a source.

With only five shooting days, Morocco most likely provided a handful of city exteriors and establishing shots that helped sell Benghazi as a real, busy North African city, while Malta carried the heavy action.

Why Rabat?

It’s not a random choice. Rabat and its twin city Salé, across the Bou Regreg river, have long been popular with Hollywood when a story needs a modern North African or Middle Eastern city rather than a desert or a medieval kasbah. Ridley Scott filmed much of Black Hawk Down, set in Mogadishu, in Rabat and Salé, and Morocco has also hosted war and spy thrillers such as Body of Lies and Green Zone. Wide avenues, low concrete buildings, older working-class neighborhoods and the Atlantic light can be dressed to look like many cities in the region.

Morocco also has an experienced film crew base, equipment suppliers, a film commission and, in recent years, a cash rebate for foreign productions. That’s why so many productions use it, even when, as with 13 Hours, the main shoot happens elsewhere. Paramount had also just filmed Mission: Impossible – Rogue Nation in Morocco when 13 Hours was being planned.

13 Hours is a small chapter in a very long story. Morocco has played Jerusalem, Tibet, ancient Rome, Egypt, Somalia, Iraq and fantasy kingdoms for more than a century of filmmaking. Some highlights:

  • Ait Ben Haddou and Ouarzazate: Gladiator, Kingdom of Heaven, The Mummy and Game of Thrones, among many others
  • Rabat and Salé: Black Hawk Down and several modern war and spy films
  • Essaouira: Game of Thrones scenes set in Astapor
  • The Sahara near Merzouga: desert scenes in Hollywood blockbusters and international productions

If you’re a film fan, read our guides to where Gladiator was filmed in Morocco, Game of Thrones filming locations, where The Mummy was filmed and where The Odyssey was filmed. The heart of it all is the Atlas Studios in Ouarzazate, one of the largest film studios in the world by area, which you can tour.

In Morocco: Rabat and Salé

You won’t find a 13 Hours set to visit in Morocco, but Rabat is a rewarding city in its own right, and much calmer than Marrakech. Walk through the blue and white Kasbah of the Udayas above the Atlantic, visit the Hassan Tower and the Mausoleum of Mohammed V, explore the Roman and medieval ruins of the Chellah, and stroll the riverside promenade along the Bou Regreg. Across the river, Salé has an old medina that sees far fewer tourists. Our Rabat travel guide covers the highlights.

Rabat is easy to reach: it’s about an hour from Casablanca by train and connected to Tangier by the Al Boraq high-speed line. Our guide to traveling by train in Morocco explains how it works.

A movie-lover’s route through Morocco

If you’d like to combine 13 Hours with Morocco’s bigger film locations, here’s a route that works well:

  1. Start in Rabat for the city that doubled for North African streets in war films like Black Hawk Down
  2. Take the train to Marrakech
  3. Cross the High Atlas to Ait Ben Haddou, the ksar seen in Gladiator, The Mummy and Game of Thrones
  4. Tour the Atlas and CLA studios in Ouarzazate, where you can walk through old sets
  5. Continue to the dunes of the Sahara for the desert landscapes Hollywood loves

Our day trip from Marrakech to Ouarzazate and Ait Ben Haddou covers the main film sites in one day, and our guide to things to do in Ouarzazate has more ideas. For a longer trip, our Marrakech desert tours add the Sahara.

In Malta

Malta is small enough to see the 13 Hours locations in a day. Albert Town in Marsa is a working industrial area rather than a tourist attraction, so there isn’t much to see beyond the streets themselves. Mosta is worth a visit for its famous Rotunda. The custom-built compound sets were temporary and don’t survive as attractions. Malta’s main film site for tourists is the Popeye Village in Mellieħa, built for the 1980 film Popeye.

What about Benghazi?

The real Benghazi is not a travel destination. Libya has been unstable for years, and the US State Department and many other governments advise against all travel to the country. If you want to see the story’s real setting, the film itself and Mitchell Zuckoff’s book are the safest way to do it.

If you want to see the Moroccan city that helped play Benghazi, and that has stood in for war zones in other films, one full day in Rabat is enough to cover the highlights at a relaxed pace.

  • Morning: start at the Kasbah of the Udayas, with its blue and white lanes, Andalusian garden and views over the Atlantic and the river mouth
  • Late morning: walk to the Hassan Tower, the unfinished twelfth-century minaret, and the Mausoleum of Mohammed V next to it
  • Lunch: try fresh fish or a tagine in the medina or along the river
  • Afternoon: visit the Chellah, where Roman ruins, a medieval necropolis and storks’ nests sit side by side
  • Late afternoon: cross the Bou Regreg to Salé and wander its quiet medina, or stroll the new riverside promenade
  • Evening: watch the sunset over the ocean from the kasbah walls or the corniche

As you walk, look at the city with a location scout’s eye: the wide boulevards, the 1960s and 1970s apartment blocks, the busy market streets and the flat light near the coast. It’s easy to see why productions set in modern North African and Middle Eastern cities keep coming back. Our Rabat travel guide has more detail on each stop.

  • Spring and autumn are the best seasons for the south, when Ouarzazate and the desert are warm but not scorching
  • Book a guided tour of the Ouarzazate studios: guides often share stories about the productions filmed there
  • Leave your drone at home unless you have official authorization, as drones are strictly controlled in Morocco and can be confiscated at customs
  • Ask before photographing people, especially in villages and markets, even if a place looks like a film set
  • If a real production is filming during your visit, some streets or sites may be closed, so keep your plans flexible
  • Combine film locations with the real highlights of each area, from the kasbahs of the Dades Valley to the dunes of Merzouga

If you prefer to leave the logistics to someone else, we can design a private route around the films you love, with a driver, a guide and comfortable riads along the way. Our Ouarzazate desert tours are a great starting point.

It’s fascinating how a production convinces audiences that Malta and Morocco are Libya. A few tricks are used again and again:

  • Signs, posters and graffiti in Arabic, written to match the local dialect and political context
  • Cars with Libyan-style license plates and vehicles common in the region at the time
  • Costume choices for extras, from everyday clothing to militia gear
  • Careful framing to hide landmarks that would give the real location away
  • Visual effects to add or remove buildings, skylines and coastline
  • Dust, smoke and color grading to give everything the same harsh, washed-out look

Watch 13 Hours again after reading this, and you’ll start to spot how much of Benghazi was built, dressed and painted in. It’s a testament to the crews in Malta and Morocco that most viewers never question it.

  • Myth: 13 Hours was filmed in Libya. Reality: no footage was shot in Libya.
  • Myth: 13 Hours was filmed entirely in Morocco. Reality: most of it was filmed in Malta, with about five days in Morocco.
  • Myth: 13 Hours was filmed at Atlas Studios in Ouarzazate. Reality: we haven’t found a reliable source for this, and reports from 2015 point to the Rabat area.
  • Myth: The compound in the film is a real building you can visit. Reality: the main sets were built for the film and were not kept as attractions.

So, where was 13 Hours filmed? Mostly in Malta, where the production built its own Benghazi and filmed in places like Albert Town and Mosta, with a short shoot of about five days in Morocco, in the Rabat area. It’s a smaller Moroccan role than Gladiator or Game of Thrones, but it’s part of the same story: when Hollywood needs North Africa, it very often comes to Morocco.

If the film has made you curious about the region, Morocco is a safe and welcoming place to see it for real, from the Atlantic kasbahs of Rabat to the film sets of Ouarzazate and the dunes of the Sahara. Tell us what you’d like to see, and we’ll build a trip around it. You can contact our team or start by browsing our Ouarzazate desert tours.

Where was 13 Hours filmed?

13 Hours: The Secret Soldiers of Benghazi was filmed mainly in Malta, where sets for the compound and annex were built and real locations such as Albert Town in Marsa and Mosta were used. A short part of the shoot, about five days, took place in Morocco, reportedly in the Rabat area.

Was 13 Hours filmed in Morocco?

Yes, partly. Michael Bay said about five of the roughly 50 shooting days were in Morocco. Moroccan reports placed the shoot in the Rabat area for exterior scenes, and Moroccan actors and extras appear in the film.

Was 13 Hours filmed in Benghazi or Libya?

No. Libya was in the middle of a conflict in 2015, so the production recreated Benghazi in Malta and Morocco.

Was 13 Hours filmed in Ouarzazate?

We haven’t found a reliable source that says so. Ouarzazate and its Atlas Studios have hosted many famous films, but the documented Moroccan shoot for 13 Hours was in the Rabat area.

When was 13 Hours filmed?

Principal photography began on April 27, 2015, in Malta, with the Moroccan portion following. The film was released on January 15, 2016.

Can you visit the 13 Hours filming locations?

You can visit the towns used in Malta, such as Mosta and Marsa, and Rabat in Morocco, but the purpose-built compound sets no longer exist. The real Benghazi is not considered safe to visit.

Tours from Marrakech: Cross the High Atlas to Ait Ben Haddou and the dunes of Erg Chebbi.

Morocco Desert Tours: Camel trekking and a night under the stars in a Sahara desert camp.

Tours from Fes: The oldest medina in Morocco, then the Middle Atlas and the desert.

Tours from Casablanca: Begin at the Hassan II Mosque and travel through the imperial cities.

Tours from Tangier: Start in the north with Chefchaouen and the Rif Mountains.

Tours from Ouarzazate: Kasbahs, film studios and the gorges of the south.

Name
Lahcen Saadi, a professional local guide from the Exploring Morocco Trips team, in traditional attire in front of a 4x4 in the Sahara dunes

Your Local Experts

Our Moroccan team organizes private tours from every major city in Morocco: Marrakech, Fes, Casablanca, Tangier, Rabat, Agadir, Ouarzazate and more. Wherever you land, we pick you up and design your trip around your dates and interests.

Scroll to Top