Packet switching is a method for transmitting digital data by breaking a message into small labeled pieces called packets and sending those packets independently across a network. It underpins the global Internet and many modern communications systems because it allows multiple users to share the same transmission resources efficiently. For a technical overview of the communications context, see telecommunications, and for packet use in modern networks see digital network.

How packets are built and moved

Each packet normally contains a header and a payload. The header carries control information such as source and destination addresses, sequence numbers, error-checking data and protocol flags; the payload contains the portion of the original message being carried. A typical workflow is that a host or workstation assembles data into packets, stamps each packet with the destination address, and forwards them to a local router or switch which selects the next hop. Network devices use the header to decide forwarding and may store and forward packets until the outgoing link is available. See related device roles at router.

Key characteristics

  • Store-and-forward: packets are held briefly at intermediate nodes and forwarded when possible.
  • Stateless vs. stateful routing: some networks route each packet independently (datagram model), while others establish a temporary virtual circuit to preserve order and resource allocation.
  • Fragmentation and reassembly: large messages are split and later reconstructed at the destination.
  • Multiplexing: links carry interleaved packets from multiple flows, improving utilization.

Origins and development

The idea of dividing messages into small blocks arose as researchers sought resilient and efficient ways to use scarce communication resources. Early work in the 1960s and 1970s by multiple teams influenced contemporary packet designs; these concepts were central to experimental networks that evolved into the modern Internet. Protocols such as the Internet Protocol (IP) apply packet switching principles to enable end-to-end communication across heterogeneous networks; see a basic description at Internet Protocol.

Uses, advantages and limitations

Packet switching is used for web traffic, email, file transfer, streaming, voice over IP and many mobile services. Its main advantages are efficient bandwidth use, resilience to single-link failures, and flexibility in interconnecting diverse technologies. However, because packets may take different routes they can arrive out of order, be delayed, or be dropped; higher-level protocols or network mechanisms provide retransmission, sequencing, and quality-of-service controls to address latency and jitter.

Practical models and distinctions

Common practical models include datagram networks, where each packet is routed independently, and virtual-circuit networks, which reserve state along a path. Packet switching contrasts with circuit switching, where a dedicated path and bandwidth are reserved for the duration of a session. In many modern systems the two ideas coexist: for example, voice services may use packetized transmission on top of an infrastructure that can provide prioritized handling. For a user-facing view of how end systems create and send packets, see workstation descriptions; for how intermediate devices make forwarding decisions, see router material.