How Codesharing Works: A Complete Guide
Embed This Widget
Add the script tag and a data attribute to embed this widget.
Embed via iframe for maximum compatibility.
<iframe src="https://airlinefyi.com/iframe/guide/how-codesharing-works/" width="420" height="400" frameborder="0" style="border:0;border-radius:10px;max-width:100%" loading="lazy"></iframe>
Paste this URL in WordPress, Medium, or any oEmbed-compatible platform.
https://airlinefyi.com/guide/how-codesharing-works/
Add a dynamic SVG badge to your README or docs.
[](https://airlinefyi.com/guide/how-codesharing-works/)
Use the native HTML custom element.
Codeshare flights let you book one ticket for a journey operated by a partner airline. This guide explains what codesharing means, how to spot codeshare flights, and whether they matter for your trip.
Contents
You book a flight on one airline's website, check in at a counter bearing that airline's logo, and then board an aircraft operated by an entirely different carrier. The boarding pass in your hand shows both airlines' flight numbers. Welcome to codesharing — one of the most consequential and least understood features of modern commercial aviation.
What Is Codesharing?
A codeshare is a commercial arrangement between two airlines in which one airline (the marketing carrier) sells seats on a flight operated by another airline (the operating carrier) under its own flight number and designator code. The flight number you book may belong to Airline A, but the aircraft, crew, safety management system, and operational responsibility belong to Airline B.
The term "codeshare" comes from the technical structure of the arrangement: each airline has a two-letter IATA designator code (for example, AA for American Airlines, LH for Lufthansa, SQ for Singapore Airlines), and a codeshare means that multiple airline codes appear on a single flight. A flight operated by Lufthansa between Frankfurt and New York might simultaneously carry the flight numbers LH 400 (Lufthansa's own code) and UA 9810 (United Airlines' codeshare flight number on the same physical flight).
Codesharing emerged in the 1980s. The first modern codeshare agreement is generally attributed to Qantas and American Airlines in 1989, though the concept has antecedents in the commuter airline relationships that predated deregulation. Today, codesharing is ubiquitous: IATA estimates that hundreds of bilateral codeshare agreements exist between airlines worldwide, covering hundreds of thousands of flight segments daily.
How Codeshare Tickets Work
When you purchase a ticket on a codeshare flight, the booking and ticketing experience depends heavily on which channel you use. If you book directly through the marketing carrier's website, you typically see only the marketing carrier's flight number and may not immediately realize the flight is operated by a different airline. Consumer disclosure regulations in most jurisdictions require that the operating carrier be identified at some point during the booking process, but the prominence of this disclosure varies.
Your ticket will be issued by the marketing carrier and governed by that carrier's fare rules, change and cancellation policies, and baggage allowances — not necessarily the operating carrier's policies. This distinction matters enormously in practice. A fare bought through Airline A on a flight operated by Airline B may carry Airline A's generous free checked baggage policy, even if Airline B charges for bags on its own-code bookings. Conversely, the frequent flyer miles earned will typically be credited to the marketing carrier's program, not the operating carrier's.
At the airport, check-in procedures vary. On some codeshares you check in at the marketing carrier's counter; on others you must use the operating carrier's counter. Your boarding pass will typically show both flight numbers. At the gate, the operating carrier's staff and equipment are in charge — their safety announcements, their in-flight entertainment system, their meal service.
Marketing vs. Operating Carrier
The distinction between marketing and operating carrier has practical consequences that passengers frequently discover at inconvenient moments:
- Delay compensation: If the operating carrier is responsible for a delay, compensation claims must typically be directed to the operating carrier, not the marketing carrier that sold you the ticket. This creates customer service confusion when passengers contact the marketing carrier's call center about a delay caused by the operating carrier's mechanical issue.
- Baggage claims: Lost baggage liability generally falls on the last operating carrier on your itinerary. If your connecting itinerary involves multiple carriers, tracing responsibility requires understanding the operating carrier structure of each segment.
- Aircraft type: The aircraft you actually board is operated by the operating carrier. If you selected a seat based on a seat map from the marketing carrier's website, you may find the actual layout differs from what you expected.
- Safety standards: The operating carrier's safety record, maintenance standards, and regulatory oversight apply to the flight. Passengers should be aware that safety standards vary between carriers and jurisdictions.
Travel consumer advocates frequently recommend that passengers actively search for and review the operating carrier for any codeshare booking, particularly on international routes where the operating carrier may be a smaller regional airline with less consumer recognition than the marketing carrier.
Interline vs. Codeshare
Codesharing is related to but distinct from interline agreements. Both allow passengers to connect between airlines on a single ticket, but they operate quite differently.
An interline agreement allows two airlines to cooperate on through-ticketing — a passenger can book a journey from City A on Airline 1 to Airline 2's hub, then continue on Airline 2 to City B, all on a single ticket. The airlines agree to honor each other's boarding passes, transfer checked baggage automatically, and reaccommodate passengers in case of misconnections. However, each flight segment retains only its own airline's flight number.
A codeshare goes further: the marketing carrier actually places its own flight number on the operating carrier's flight. This means the marketing carrier can list that flight in its own schedule, sell it through its own distribution channels, and present it to customers as part of its own network — even though it has no operational responsibility for the flight whatsoever.
| Feature | Interline | Codeshare |
|---|---|---|
| Single ticket | Yes | Yes |
| Automatic baggage transfer | Yes | Yes |
| Marketing carrier flight number | No | Yes |
| Appears in marketing carrier's timetable | No | Yes |
| Sold on marketing carrier's website as own flight | No | Yes |
Alliance Codeshares
The three major airline alliances — Star Alliance, Oneworld, and SkyTeam — facilitate extensive codesharing among their member airlines. Alliance membership does not automatically create codeshare agreements between all members (each bilateral arrangement must be negotiated separately), but the alliance framework provides a commercial and technical environment that makes such agreements easier to establish and maintain.
Alliance codeshares are particularly important for long-haul international markets where no single carrier can offer comprehensive point-to-point service. Lufthansa and United, for example, codeshare extensively on transatlantic routes, allowing each carrier to offer its customers seamless service across routes that neither could profitably operate alone. A passenger booking through United's website can reach hundreds of European destinations served by Lufthansa with a single booking, a single loyalty program earning, and the appearance of a unified product.
The most sophisticated form of alliance cooperation goes beyond codesharing to joint ventures (JV) or metal-neutral partnerships, in which airlines share revenues and costs across a defined set of routes and coordinate pricing as a single entity. Joint ventures typically require antitrust immunity from the relevant competition authorities, as they involve coordination of pricing that would otherwise be prohibited.
Passenger Implications
For passengers, the key practical questions around codeshares concern loyalty status, service expectations, and complaint resolution.
On service quality, codeshares present genuine uncertainty. A passenger booking a "premium economy" ticket through Airline A on a flight operated by Airline B will receive whatever Airline B's definition of premium economy happens to be. If the two airlines have materially different product standards, the passenger experience may differ significantly from expectations set by the marketing carrier's branding. Business-class passengers are particularly at risk of this: the marketing carrier may offer a flat-bed business class in its own long-haul cabin, while the operating carrier on a regional segment may offer an angled-flat seat or even a recliner.
On disruption handling, codeshare travelers are sometimes caught in organizational gaps. If a delay causes a misconnection on a codeshare itinerary, the two carriers may disagree about which is responsible for rebooking and accommodation. Passengers who know their rights — and know to contact the ticket-issuing (marketing) carrier first, as that carrier has the overall responsibility for the journey on a single ticket — are better positioned to navigate these situations.
Miles on Codeshares
Frequent flyer mile accrual on codeshare flights is governed by the agreement between the marketing carrier and the operating carrier, and the rules can be counterintuitive. The general principle is:
- Miles are credited to the program of the carrier whose ticket number appears on the document (typically the marketing carrier)
- The number of miles credited depends on the fare class of the segment as defined by the marketing carrier's program, not the operating carrier's
- Elite status benefits — upgrades, priority boarding, lounge access — may or may not extend on codeshare segments, depending on the specific alliance or bilateral agreement
In practice, this means that a flight booked on a deep-discount codeshare fare may earn fewer miles than the actual flight distance would suggest, because the fare class earns at a reduced rate. Conversely, a passenger with elite status on the marketing carrier may find that their upgrade list priority does not carry over to the operating carrier's flight, since the operating carrier's yield management system is making upgrade decisions based on its own criteria.
Frequent flyers who accumulate miles strategically spend considerable effort understanding which codeshare combinations produce the best earning rates and which elite benefits will actually be honored. This is one area where the complexity of codesharing creates a real information asymmetry between sophisticated and occasional travelers.
Spotting Codeshares
How can you identify a codeshare before you book? Several reliable signals exist:
- Flight number ranges: Many airlines use high flight numbers (typically 4000 and above, or sometimes 9000+) for codeshare flights. A "United Airlines" flight numbered UA 9810 is almost certainly a codeshare. However, this convention is not universal.
- "Operated by" disclosure: During the booking flow, look for small print or footnotes identifying the "operated by" carrier. Most airline websites and OTAs are required by regulation to disclose this, though they may not prominently display it.
- Aircraft type inconsistency: If a "major carrier" flight shows an aircraft type more commonly associated with a regional or partner airline, it may be a codeshare.
- Fare rules references: In the detailed fare rules of your ticket, the operating carrier's name often appears in clauses about inflight services or operational responsibilities.
- Airport check-in counter: Your booking confirmation may specify a check-in counter different from the marketing carrier's standard counters — a reliable indicator of a codeshare operation.
For travelers who prefer certainty about the exact product they are buying, the safest approach is always to book directly with the operating carrier, or to use flight search tools that clearly identify the operating carrier for every segment. While this may sacrifice some price or convenience benefits of codeshare arrangements, it eliminates the ambiguity that codeshares inevitably introduce.