Evaluate Weigh the pros and cons of technologies, products and projects you are considering.

What is the difference between TCP/IP model and OSI model?

Our expert explains the difference between the OSI model vs. the TCP/IP model, and breaks down how the layers of the models relate to each other in terms of network communications.

What is the difference between the TCP/IP model and the OSI model?

The Open Systems Interconnection, or OSI, model is a standard reference model created by the International Organization for Standardization to describe how the different software and hardware components involved in a network communication should divide labor and interact with one another. It defines a seven-layer set of functional elements, ranging from the physical interconnections at Layer 1 -- also known as the physical layer, or PHY interface -- all the way up to Layer 7, the application layer.

Separately from the OSI model, TCP and IP are two of the network standards that define the internet. IP defines how computers can get data to each other over a routed, interconnected set of networks. TCP defines how applications can create reliable channels of communication across a network. IP basically defines addressing and routing, while TCP defines how to have a conversation across the link without garbling or losing data. TCP/IP grew out of research by the U.S. Department of Defense and is based on a loose, rather than strict, approach to network layering.

How the OSI model and TCP/IP model differ

The TCP/IP model doesn't map cleanly to the OSI model because it was developed in the 1970s, before the OSI model was created in the 1980s. TCP/IP was designed to solve a specific set of problems, not to function as a general description for all network communications.

  • IP corresponds to a subset of OSI Layer 3, the network layer.
  • TCP corresponds to OSI Layer 4 (transport) and some functions of Layer 5 (session).
  • TCP/IP makes no assumptions about what happens above the level of a network session -- part of OSI Layer 5 -- while OSI defines several more layers of standardized functions.
  • TCP/IP makes no prescriptions as to the link layers below IP, while OSI specifies two layers.
  • If an application needs functions not found in TCP/IP, the application has to supply them. In the OSI model, it is assumed an application will never implement any functionality belonging in any defined layer, and because interfaces between layers abstract many details, it may not be able to anyway.

OSI vs. TCP/IP model

OSI vs TCP/IP model

Additional key internet protocols

Many other key internet protocols -- including HTTP, which is the basic protocol of the web; and the Simple Mail Transfer Protocol, the core email transfer protocol -- are built on top of TCP. The User Datagram Protocol, a companion to TCP, sacrifices the guarantees of reliability that TCP makes in return for faster communications.

Next Steps

Read OSI tips based on the book, Hack the Stack

Are there monitoring tools for all OSI layers?

Network managers can prioritize automation for the seven OSI layers

This was last published in December 2016

Dig Deeper on Network protocols and standards

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Join the conversation


Send me notifications when other members comment.

Please create a username to comment.

Even though TCP/IP is the older of the two models, I do think both will remain relevant in the networking world. What does everyone else think?
By making it possible to implement arbitrary, complex behaviors at any port in a network, does SDN make the OSI model more or less useful to your understanding of networks and networked applications?
In what ways could the OSI model become irrelevant due to software-defined networking?
We really thank you for your shares.