On this page
TL;DRKey facts, checked on Dec 4, 2026What is the OSI model in simple terms?What is an easy way to remember the OSI model layers in order?How do you remember what each OSI layer actually does?Which device or protocol lives at which OSI layer?What is a real example that makes the 7 layers stick?How is the OSI model different from the TCP/IP model?Do you need to memorize the OSI model for Network+ and CCNA?How should you practice the OSI model so it sticks?OSI model memory checklistOur perspectivePractice with SecLernFAQWhat is the easiest way to remember the OSI model?What is a good mnemonic for the 7 layers of the OSI model?Do I have to memorize the OSI model for CompTIA Network+?Which OSI layer is a router on?Is the OSI model still used in real networks, or is it just for exams?How long does it take to memorize the OSI model?SourcesRecommendedHere is how to remember the OSI model in two passes. First lock the order with a mnemonic: Please Do Not Throw Sausage Pizza Away runs from Layer 1, Physical, up to Layer 7, Application. Then attach a job, a data unit and one protocol or device to each layer so the names carry meaning. Finish by writing all seven from a blank page and sorting devices such as switches (Layer 2) and routers (Layer 3), because that is the form Network+ and CCNA questions actually take.
TL;DR
- Remember the order with Please Do Not Throw Sausage Pizza Away (Layer 1 Physical to Layer 7 Application) and reverse it with All People Seem To Need Data Processing.
- The OSI model is a seven-layer reference model standardized as ISO/IEC 7498-1; real networks run TCP/IP, and OSI names are the shared vocabulary exams use.
- One rule places almost any device: forwards by MAC address is Layer 2, by IP address is Layer 3, by port number is Layer 4, by URL or content is Layer 7.
- Data units run bits at Layer 1, frames at Layer 2, packets at Layer 3, segments at Layer 4, and data at Layers 5 to 7 (Cloudflare).
- CompTIA Network+ N10-009 has a maximum of 90 questions in 90 minutes, a passing score of 720 on a 100-900 scale, and Networking Concepts at 23% (CompTIA).
- Cisco CCNA 200-301 (v1.1) is a 120-minute exam, and IP Connectivity is its largest domain at 25% (Cisco).
Key facts, checked on Dec 4, 2026
- The OSI reference model is standardized as ISO/IEC 7498-1 and defines seven layers. ISO/IEC 7498-1:1994 - Information technology - Open Systems Interconnection - Basic Reference Model: The Basic Model ↗
- The seven OSI layers run from Physical at Layer 1 to Application at Layer 7. Cloudflare Learning Center: What is the OSI model? ↗
- Common data units are bits at Layer 1, frames at Layer 2, packets at Layer 3, segments at Layer 4, and data at Layers 5 to 7. Cloudflare Learning Center: What is the OSI model? ↗
- CompTIA Network+ N10-009: maximum 90 questions in 90 minutes, passing score 720 on a 100-900 scale, Networking Concepts 23%. CompTIA Network+ (Plus) Certification ↗
- Cisco CCNA 200-301 (v1.1): 120 minutes, IP Connectivity 25% (the largest domain), Network Fundamentals 20%. Cisco Learning Network: CCNA 200-301 exam topics ↗
What is the OSI model in simple terms?
The OSI model is a seven-layer reference model, standardized as ISO/IEC 7498-1, that describes how data gets from an application on one computer to an application on another. Cloudflare's OSI explainer describes the same seven layers, from Layer 1, Physical, up to Layer 7, Application.
It is a shared vocabulary, not a product or a protocol stack. Real networks run TCP/IP, and OSI names are how engineers and exams describe each stage.
| # | Layer | Job in one line | Data unit | One example |
|---|---|---|---|---|
| 7 | Application | What the user and app touch | Data | HTTP/HTTPS, DNS, SMTP |
| 6 | Presentation | Translate, encrypt, compress | Data | TLS, JPEG, UTF-8 |
| 5 | Session | Start, manage, end conversations | Data | RPC, SIP, session tokens |
| 4 | Transport | End-to-end delivery and ports | Segment (TCP), datagram (UDP) | TCP, UDP, 443/TCP |
| 3 | Network | Route packets between networks | Packet | IPv4/IPv6, ICMP, routers |
| 2 | Data Link | Deliver frames on the local link | Frame | Ethernet, switches, MAC addresses |
| 1 | Physical | Put bits on the medium | Bit | Cables, Wi-Fi radio, hubs |
Layer 1 is the cable at the bottom and Layer 7 is the browser at the top, so higher means closer to the user. Exams ask in both directions, so learn the list from both ends.
What is an easy way to remember the OSI model layers in order?
The easiest way to remember the OSI model is a mnemonic in both directions: Please Do Not Throw Sausage Pizza Away for Layer 1 up to Layer 7, and All People Seem To Need Data Processing for Layer 7 down to Layer 1.
- Lock the bottom-up order. Please Do Not Throw Sausage Pizza Away maps to Physical, Data Link, Network, Transport, Session, Presentation, Application.
- Reverse it the same day. All People Seem To Need Data Processing maps Application down to Physical, so top-down questions stop breaking your rhythm.
- Anchor the three layers exam questions target most. Layer 1 is bits and cables, Layer 3 is IP and routers, Layer 4 is TCP, UDP and ports.
- Chunk seven into three. Layers 1 and 2 are hardware and frames, Layers 3 and 4 are addressing and delivery, Layers 5 to 7 are software and data.
- Do blank-page recall. Write all seven from memory, both directions, until you can do it twice in a row in under 60 seconds.
Other mnemonics work too, including "Please Do Not Throw Salami Pizza Away" and "All People Study Their Notes Daily". The limit is the same for all of them: a mnemonic gives you names, not meaning. Exam questions ask what a layer does and what sits on it, which is the next two sections.

How do you remember what each OSI layer actually does?
To remember what each layer does, give it a short job and a memory hook, then say the job out loud each time you recall the name. That turns a recital into understanding.
- Layer 7, Application: what the user sees. Hook: the app you touch. HTTP/HTTPS, DNS, DHCP, SMTP, SSH.
- Layer 6, Presentation: translate, encrypt, compress. Hook: presentation is format. TLS, JPEG, MP4, UTF-8.
- Layer 5, Session: start, manage and end conversations. Hook: who is talking to whom. RPC, NetBIOS, SIP, session tokens.
- Layer 4, Transport: end-to-end delivery, ports and reliability. Hook: segments are pieces of the message. TCP, UDP, port numbers.
- Layer 3, Network: logical addressing and routing. Hook: packets take paths. IP, ICMP, OSPF, routers.
- Layer 2, Data Link: frames, MAC addresses and local delivery. Hook: a link is one wire or one Wi-Fi cell. Ethernet, switches, NICs.
- Layer 1, Physical: bits on the medium. Hook: if you can touch it, it is Layer 1. Cables, pins, hubs, radio.
One classic trap: TLS and encryption are often mapped to Presentation on paper, but in TCP/IP everything above Transport is simply application. Know the textbook mapping for the exam and the TCP/IP mapping for the job.
The old joke about Layer 8 being the user is not in the standard, and it is the one layer nobody forgets. Ports are what people lose first, so there is a separate system for how to remember port numbers and a free ports cheat sheet.
Which device or protocol lives at which OSI layer?
Match the forwarding decision to the layer: a device that forwards by MAC address is Layer 2, by IP address is Layer 3, by port number is Layer 4, and by URL or content is Layer 7.
| Layer | Typical devices | Typical protocols | The clue that gives it away |
|---|---|---|---|
| 7 Application | Web server, proxy, WAF, DNS server | HTTP/HTTPS, DNS, SMTP, FTP, SSH | the URL or the content |
| 6 Presentation | TLS-terminating proxy | TLS, JPEG, UTF-8 | something is encrypted or reformatted |
| 5 Session | Session managers, some API gateways | RPC, SIP (session signaling) | who is talking to whom |
| 4 Transport | Layer 4 load balancer, stateful firewall | TCP, UDP | a port number |
| 3 Network | Router, Layer 3 switch | IPv4/IPv6, ICMP, OSPF, BGP | an IP address |
| 2 Data Link | Switch, bridge, NIC, wireless access point | Ethernet (802.3), VLANs, PPP, ARP | a MAC address |
| 1 Physical | Hub, repeater, cable, patch panel | none | bits, no addresses |
ARP is the usual argument. It resolves an IP address to a MAC address, so it is commonly placed at Layer 2 and sometimes described as sitting between Layers 2 and 3. If a question forces one answer, Layer 2 is the safer pick.
HTTPS is a useful sanity check: TCP, and therefore port 443, is Layer 4, and the port is registered in IANA's port registry, while HTTPS itself is Layer 7. One connection, two layers.
What is a real example that makes the 7 layers stick?
Type https://example.com into a browser and one request touches all seven layers on the way out, then all seven again on the way back.
- Application. The browser builds an HTTP request: GET / HTTP/1.1 plus headers.
- Presentation. TLS encrypts the request and the text is encoded, usually UTF-8.
- Session. The conversation between client and server is established and tracked for the life of the connection.
- Transport. TCP completes the three-way handshake, picks a random source port and targets 443/TCP. The data is split into segments with sequence numbers, so anything lost can be resent.
- Network. Each segment goes inside an IP packet with source and destination IP addresses, and every router on the path picks the next hop.
- Data Link. Each packet goes inside a frame with source and destination MAC addresses for the next hop only, usually the default gateway, and a switch forwards it across the LAN.
- Physical. The frame leaves as bits on copper, fiber or Wi-Fi.
The return trip is the same in reverse: the server removes one header per layer going up. Headers are added going down and stripped going up, which explains most troubleshooting questions. When a site will not load, test bottom-up: cable or Wi-Fi, MAC and switch, IP and routing, port 443, then the application. The layer where the test stops working is the layer to investigate.

How is the OSI model different from the TCP/IP model?
The TCP/IP model is a four-layer model, application, transport, internet and link, as described in RFC 1122, and the seven OSI layers fold into it.
| TCP/IP layer | OSI layers | What it covers |
|---|---|---|
| Application | 7, 6, 5 | HTTP, TLS, DNS, session handling |
| Transport | 4 | TCP, UDP, port numbers |
| Internet | 3 | IP, ICMP, routing |
| Link (network access) | 2, 1 | Ethernet, Wi-Fi, cabling |
The mapping is not exact. OSI splits the top of the stack into three layers where TCP/IP has one, which is why vendor documentation rarely mentions Sessions or Presentation. Use OSI names in exams and TCP/IP names in tickets: CompTIA and Cisco questions are written in OSI vocabulary, while device configuration mostly uses TCP/IP terms. Calling something Layer 5 to a working network engineer will usually get a blank look.
Do you need to memorize the OSI model for Network+ and CCNA?
Yes. Both exams test layered thinking across whole domains, not in one small objective. As of December 2026, CompTIA's Network+ page lists a maximum of 90 questions in 90 minutes, a passing score of 720 on a 100-900 scale and Networking Concepts at 23% of N10-009. The Cisco Learning Network's CCNA 200-301 topics show a 120-minute exam with Network Fundamentals at 20% and IP Connectivity, the largest domain, at 25%.
The questions come in three shapes:
- Which layer does this operate at? A switch, a router, a WAF.
- Which data unit is created here? Bits, frames, packets, segments.
- Which layer is failing? A link light is on but pings fail, or pings work but the site times out.
Exam versions and objectives change, so check CompTIA's exam objectives page before you book instead of trusting a blog, including this one. The same vocabulary shows up in A+ and Security+ material and in interviews, so the recall work pays off beyond one exam. For objective-by-objective practice, see the CompTIA Network+ (N10-009) study page and the Cisco CCNA 200-301 study page. For a realistic study timeline, see how long to study for Network+.
How should you practice the OSI model so it sticks?
Practice with retrieval, not rereading: draw the model from a blank page, drill flashcards, sort devices and protocols onto a blank diagram, then space the recall over two weeks. That is the same mechanic behind how to retain technical knowledge: recalling an answer beats recognizing one, and short sessions spread out beat a single long one. The six drills in the step list take a few minutes each; the checklist below is how you know you are done.
OSI model memory checklist
- I can write Layers 1 to 7 and 7 to 1 in under 60 seconds, no notes.
- I can give one job per layer without notes.
- I can name the data unit at each layer: bits, frames, packets, segments, data.
- I can place 10 devices or protocols without hesitating.
- I can explain an HTTPS request through all seven layers in 60 seconds.
- I can map the seven OSI layers onto the four TCP/IP layers.
- I have answered 20 which-layer questions and reviewed every miss.
- I have re-tested on day 3, day 7 and day 14.
Our perspective
We built SecLern around a plain observation: people who can recite the seven layers still miss "which layer" questions, because reciting a mnemonic is not the same skill as sorting a device, a protocol or a symptom into a layer. The fix is not more reading. It is short retrieval, a blank page and a stopwatch. Our advice is to spend one session on the mnemonic and every later session on placement and troubleshooting, because that is what Network+ and CCNA actually ask. The honest trade-off: mnemonics feel productive, and they are the cheapest part of this work. Keep them, then drop the sentence and carry the jobs, data units and devices instead.
Practice with SecLern
SecLern practice maps to this topic directly. The CompTIA Network+ (N10-009) study page and the Cisco CCNA 200-301 study page organize questions by exam domain, and every answer explains why the wrong options fail. The free tier gives you the first module of each path, 30 questions a day and 3 labs and PBQs, no card needed. Pro is $15 a month or $99 a year with a 7-day trial, and Exam Sprint is $29 once for 90 days if your exam date is already booked. Details are on pricing.
FAQ
What is the easiest way to remember the OSI model?
Use a two-pass method. Lock the order first with Please Do Not Throw Sausage Pizza Away, which runs from Layer 1, Physical, up to Layer 7, Application. Then attach a job, a data unit and one example protocol to each layer so the names carry meaning when an exam question asks where something sits.
What is a good mnemonic for the 7 layers of the OSI model?
Please Do Not Throw Sausage Pizza Away runs bottom-up: Physical, Data Link, Network, Transport, Session, Presentation, Application. For top-down recall, use All People Seem To Need Data Processing. Learn both directions, because exam questions ask from either end, and say each layer's job as you go so the mnemonic does not become empty recital.
Do I have to memorize the OSI model for CompTIA Network+?
Yes. Networking Concepts is 23% of N10-009, and layer questions appear in other domains too. You need the order, a one-line job per layer, and the ability to place common devices and protocols: switch at Layer 2, router at Layer 3, TCP at Layer 4.
Which OSI layer is a router on?
A router is Layer 3, the Network layer, because it forwards packets using IP addresses. A Layer 3 switch does the same job in hardware, while a plain switch forwards frames by MAC address at Layer 2, and a hub just repeats bits at Layer 1.
Is the OSI model still used in real networks, or is it just for exams?
Real networks run TCP/IP, which RFC 1122 describes in four layers. The OSI names survive as shared troubleshooting vocabulary and as the language of CompTIA and Cisco exams, so you will use them in tickets and interviews as well as tests. The model is still worth learning because the layer vocabulary is how people describe problems.
How long does it take to memorize the OSI model?
Writing the seven names in order is a single short session with a mnemonic. Placing devices and protocols reliably takes longer: plan on a few minutes of recall on days 1, 3, 7 and 14, plus 20 which-layer questions. Where you stumble tells you which layer to review.
Sources
- ISO/IEC 7498-1:1994 - Information technology - Open Systems Interconnection - Basic Reference Model: The Basic Model
- Cloudflare Learning Center: What is the OSI model?
- IANA Service Name and Transport Protocol Port Number Registry
- CompTIA Network+ (Plus) Certification
- Cisco Learning Network: CCNA 200-301 exam topics
- RFC 1122: Requirements for Internet Hosts - Communication Layers
- CompTIA Exam Objectives
