3 min read

What Is TFTP and When Is It Still Used?

TFTP explained: how the trivial file transfer works over UDP, why switches and provisioning still use it, and where its lack of authentication becomes a risk.

ByAndré Ribeiro· Founder, Obelinf
What Is TFTP and When Is It Still Used?
What Is TFTP and When Is It Still Used? · October 18, 2026
On this page

TFTP shows up in the least glamorous corners of network work: firmware uploads, configuration backups, phone provisioning, and the first stage of a network boot. It is old, it is minimal, and it has no security of its own, yet it is still installed on almost every switch and router because it solves a narrow problem extremely well.

TFTP, the Trivial File Transfer Protocol, was designed to be small enough to fit in boot firmware. That constraint explains everything about it: no login, no encryption, no directory listing, and a transfer that is simple enough to implement in a few kilobytes of code.

What TFTP Does and Does Not Do

TFTP moves a single file between a client and a server over UDP. It supports reading and writing, a block size that both sides agree on, and retransmission when a block is lost. That is the whole feature set.

A TFTP read request, the server data port, and the acknowledged block transferTFTP clientswitch, phone, PXE hostTFTP serverserves files over UDPread request to UDP 69data blocks from an ephemeral port, each acknowledgedThe first packet defines intent. The transfer then moves block by block with anacknowledgment for every block, which keeps the client side simple at the cost of speed.

What it leaves out is as important as what it includes. There is no user account, so any host that can reach the server can read or overwrite files. There is no encryption, so the contents cross the network in the clear. There is no integrity check beyond the block acknowledgments, so a transfer can complete with a corrupted file if the corruption survives the checksums.

Why It Survived

TFTP survives because the client side is trivial. A boot loader, a switch firmware image, or a voice phone can implement a TFTP client in a tiny footprint, and the server side is a single small service. That is why the protocol is still the path of least resistance for a handful of recurring jobs.

Use case Why TFTP fits
Config backup and restore The device already ships a TFTP client, so one command saves or loads the running config
Firmware upgrades A boot loader can pull an image before the full operating system is running
IP phone and thin client provisioning Devices fetch a small config file by name at first boot
PXE network boot The PXE client loads its first image over TFTP before handing off to the installer

Each of these has a modern alternative, usually SFTP or an HTTP endpoint, but the device support and the simplicity of TFTP keep it in upgrade guides and backup scripts.

Operating TFTP Safely

Since the protocol has no authentication, the security has to come from the network. Bind the server to the segment it needs, restrict who can reach UDP port 69 with the firewall or an ACL, and serve from a directory that contains only the files you intend to share. Log every request, because an unexpected read of a configuration file is a useful signal.

Where the platform supports it, prefer SFTP or SCP for anything that includes credentials, keys, or customer data. Reserve TFTP for firmware and configs on a management network, and treat the server itself as an untrusted service that happens to sit inside the perimeter.

A Note on TFTP and File Servers

TFTP is not a file sharing protocol in the everyday sense. It cannot browse directories, it cannot serve many users efficiently, and it does not replace SMB or NFS. It is a delivery mechanism for single files at boot time, and thinking of it that way keeps expectations, and security decisions, in the right place.

If you run a TFTP server for device provisioning, the recordings that matter are the address of that server and which devices depend on it. Recording service addresses such as the TFTP server, syslog collector, and NTP source next to the subnets they serve, as IP address management in Obelinf lets you do, means the next engineer knows which infrastructure depends on a service before it is moved or retired.

Frequently Asked Questions

What is TFTP?
TFTP, the Trivial File Transfer Protocol, is a very simple file transfer protocol that runs over UDP port 69. It has no authentication and no directory listing, which makes it small enough to fit in boot firmware, and it is used for jobs such as loading configurations and firmware onto network devices.
What port does TFTP use?
TFTP starts on UDP port 69. After the first exchange, the server and client agree on a new ephemeral port for the data transfer, so a capture can show port 69 followed by a second high port for the actual file.
What is TFTP used for today?
Common uses are backing up and restoring switch and router configurations, uploading firmware images, provisioning IP phones and thin clients, and network booting through PXE. It survives because the client side needs almost no memory or storage, which matters inside device firmware.
Is TFTP secure?
No. TFTP has no authentication, no encryption, and no integrity checking, so anyone who can reach the server can read the files it serves. Treat it as a trusted network tool only, restrict access by firewall or ACL, and never use it to move sensitive data.
What is the difference between TFTP, FTP, and SFTP?
TFTP is the smallest of the three and runs over UDP with no login, FTP runs over TCP with a username and password but no encryption, and SFTP runs over TCP inside an SSH session with full encryption and authentication. Use the smallest option that satisfies the job and the security requirement.
Why do switch configuration backups still use TFTP?
Because device firmware already speaks it. A switch or router can implement a TFTP client in a tiny amount of code, so copy running-config tftp one-liners remain the default in many upgrade and backup procedures even when SFTP is also available.

Free Tools

Put this into practice with the free calculators, reference tables, and checklists in the Obelinf toolkit.

Stop reaching for a spreadsheet

Obelinf keeps every subnet, device, circuit, and rack in one live source of truth, with audit logs and a topology view. Free for personal use.

Related Articles