What size drain pipe for a toilet?

A toilet (private, 1.6 gallons per flush or less) has no separate trap size in the International Plumbing Code (IPC) table, while the UPC sets a 3 inch trap and drain. It counts as 3 drainage fixture units under both codes. Your state or city may use either code, with amendments.

Toilet drain size in each document

Trap size and drainage fixture units of the toilet (private, 1.6 gallons per flush or less) as printed in each document, by code
CodeTrap, inDFUDocument
IPC—3NC Building Code Council / NC Office of Administrative Hearings
UPC33Minnesota Office of the Revisor of Statutes / Dept. of Labor and Industry
UPC33Public Health - Seattle & King County, WA

Which code applies where you live

The model codes are adopted state by state. UPC: AK, CA, HI, IA, ID, MN, MT, NM, OR, WA. IPC: CO, FL, GA, IN, LA, MD, MI, NC, NY, OH, PA, TN, UT, VA. Cities and counties can amend them; the local building department has the final word.

Before you plumb the drain

The trap size is the smallest the code allows for this fixture. A drain line that collects several fixtures is sized from the sum of their drainage fixture units, and every drain needs a vent and a minimum slope; see the drain size chart and the drain slope calculator.