How to Use ITA Matrix to Search for Complex Airfares

Most flight searches begin with a straightforward question: how much does it cost to fly from one city to another?

But sometimes your priorities are more specific. You want to connect through a particular airport, spend several hours in a city along the way, or arrive in one country and return from another.

Learning how to use ITA Matrix gives you a more structured way to investigate those possibilities. Its advanced controls let you describe the itinerary you want with greater precision.

The goal is to understand which compromises improve your trip, and what they cost.

What Is ITA Matrix?

ITA Matrix is Google’s airfare search tool. It supports one-way, round-trip and multi-city searches, with controls for dates, airports, cabins and routing.

One thing to note is that you cannot purchase tickets inside Matrix. Google directs users to take the itinerary information to an airline or travel agent to book. For an initial comparison, start with our Guide “How to Use Google Flights“. Establish what a reasonable itinerary costs before investigating more complicated alternatives.

1. Start With a Baseline Search

Open Matrix, choose your trip type, and enter your airports, dates, passenger count and cabin. Keep the available-seats filter enabled when researching something you intend to purchase.

Record the price and duration of an acceptable option before adding advanced restrictions. That baseline matters. If an unusual routing costs $250 more, you want to know what the additional money buys: a city visit, a preferred airline, better timing, or simply another connection.

For flexible round trips, Google’s help describes a lowest-fare calendar and a trip-length range such as 7-9 nights. Use this to investigate date flexibility before imposing routing constraints.

ITA Matrix search results comparing nonstop and one-stop fares from Washington to London on December 17

2. Understand Routing Codes and Extension Codes

Select Show Advanced Controls. The two fields serve different purposes:

FieldPurposeExample
Routing CodesSpecify carriers, connections or flight sequencesX:FRA
Extension CodesAdd conditions such as connection-time limitsMINCONNECT 03:00

Enter codes without backticks or square brackets. Apply them separately to each direction or multi-city entry where needed.

Google’s official routing-code reference is the source for the syntax below. When using the separate Extension Codes box, omit the slash that Google’s combined examples place before an extension.

3. Search Through a Specific Connecting Airport

Suppose you are comparing New York–Rome itineraries and want to investigate a connection in Frankfurt.

Search fieldIllustrative input
OriginJFK
DestinationFCO
Routing CodesX:FRA

This requests Frankfurt as the connection point. It does not guarantee an available or inexpensive fare for your dates.

For an alternative connection in either Frankfurt or Munich, use FRA,MUC. The comma separates alternatives; the space has a different role in routing expressions.

Use this comparison to answer a practical question: is connecting in your preferred airport worth the price difference?

An airport might be attractive because you know its terminals, prefer its lounge options, or find its schedules easier to manage. Those preferences have value, but assigning them a price helps keep the decision grounded.

4. Set a Useful Layover Window

Suppose Frankfurt is appealing only if you have enough time for a relaxed connection. Add:

FieldInput
Routing CodesX:FRA
Extension CodesMINCONNECT 03:00; MAXCONNECT 05:00

This searches for a connection lasting three to five hours. For a possible longer city visit, try MINCONNECT 08:00; MAXCONNECT 12:00 instead.

These are search constraints, not recommendations that a particular layover is sufficient to leave the airport. Subtract time for arrival procedures, transport, your return to the terminal and departure formalities before estimating usable sightseeing time.

A ten-hour connection is not ten hours in the city.

Also consider the clock. A long daytime layover and an overnight wait can offer very different experiences. A hotel, airport transfer and meals may change the economics of the itinerary.

[Image placement: Advanced controls showing the connection airport and layover window.]

5. Narrow the Airline Without Confusing Marketing and Operating Carriers

Useful routing expressions include:

Routing codeMeaning
UA+One or more United-marketed flights
O:UAOne United-operated direct flight
N:UAA nonstop United-marketed flight
F FTwo flight segments

“Direct” can include an intermediate stop while retaining a flight number. Use the nonstop expression when you require no intermediate landing.

A marketing carrier sells the flight under its code; the operating carrier flies it. Check both when the airline or onboard experience matters.

Do not add an airline restriction simply because you already have its loyalty account. Compare the resulting itinerary with your baseline and decide whether the benefits justify any premium.

6. Use Multi City for an Open-Jaw Trip

Consider this illustrative plan:

EntryJourney
1Newark → Paris
2Rome → Newark

Use Multi City to investigate the flights together. You arrange Paris–Rome separately.

This is a destination open jaw: the international return begins somewhere other than your arrival city. Our T2: Open-Jaw Flights Explained covers the structure in more detail.

The comparison should include the cost of returning to Paris if you booked a conventional round trip. A slightly more expensive open-jaw airfare could still reduce total spending and save a travel day.

Conversely, adding cities does not automatically improve value. Include transport, accommodation and the time spent moving between destinations.

7. Evaluate the Whole Trip Before Booking

Imagine these hypothetical choices:

Cost or tradeoffSimple itineraryLonger layover itinerary
Airfare$850$780
Additional transport and meals$0$95
Combined cost$850$875
Additional travel time—7 hours

The lower airfare produces a higher combined cost. It might still be worthwhile if you want the city visit, but the $70 airfare difference is not a $70 trip saving.

The same principle applies when changing departure airports. Our T2: Positioning Flights Guide explains how separate tickets add costs and missed-connection exposure.

Do not assume a cheaper departure from another city is accessible for free.

8. Reproduce the Itinerary Before You Commit

Save the flight dates, numbers, cabin and fare details. Attempt to reproduce the result with the airline, or ask a travel agent to price it.

Google notes that fares and availability can change and that some flight combinations cannot be sold together under airline rules. A Matrix result is research, rather than a ticket reservation.

Before paying, verify the operating carriers, cabin on every segment, baggage allowance, connection arrangements and final total. Confirm how the ticket will be issued rather than inferring protection from a search result.

For interface and booking questions, consult Google’s Matrix help.

What If ITA Matrix Returns No Results?

Sometimes this can happen when very specific searches and queries are made. The best Remove restrictions one at a time. Start with the connection-time window, then the airline restriction, then the required connection airport. Try exact dates and fewer airport combinations.

Keep notes on each change so you can identify which preference makes the trip difficult to price.

No results should prompt investigation. It is not proof that the flights do not exist or that no airline can sell a workable alternative.

The Fare Theory Take: Give Each Complication a Purpose

ITA Matrix is most useful when you have a question that an ordinary search has not answered.

What does a longer layover cost? Is a preferred connection practical? Would returning from another city improve the trip?

Start with a reasonable baseline, test one preference at a time, and evaluate the complete itinerary.

A complicated route can be excellent value when the extra travel delivers something you want. The achievement is finding a trip worth taking.


EDITORIAL NOTES — REMOVE BEFORE PUBLICATION

Keep Reading