Q. What is the smallest size wire you can use for a lighting fixture whip?

A. Fixture wires as small as 18 AWG are allowed to run from the luminaire to an outlet box, as long as the conductors are not more than 6 feet long [410.117(C)], and they are connected to a circuit rated not more than 20A [240.5(B)(2)].