Atomic force microscopy (AFM) is used to measure the friction of a stainless steel surface lubricated with six different ionic liquids (ILs). The measurements reveal that, contrary to expectations, friction and the degree of interfacial ionic liquid nanostructure are inversely correlated. Six ILs were confined between a sharp Si tip and a stainless steel surface, and the friction force was measured as a function of normal load. Trihexyl(tetradecyl)phosphonium bis(trifluoromethane)sulfonamide (P-6,P-6,P-6,P-14 TFSI) and trihexyl(tetradecyl)phosphonium bis(2,4,4-trimethylpentyl)phosphinate (P-6,P-6,P-6,P-14 (C-i(8))(2)PO2) are the most effective lubricants, reducing lateral forces and friction coefficients by up to 3 times compared with the imidazolium-based ILs and the shorter-chained P-4,P-4,P-4,P-1 TFSI. Force-separation profiles reveal no obvious interfacial layers for P-6,P-6,P-6,P-14 (C-i(8))(2)PO2 and TFSI, in contrast to extensive layering for the other ILs. The bulkiness of the [P-6,P-6,P-6,P-14](+) cation weakens the electrostatic interaction with the anion, resulting in weaker structure near the surface. The sliding AFM tip expels the weak near surface structure with minimal energy loss (low friction), whereas for the strongly structured ILs, more energy is dissipated by breaking the stronger interlayer bonds. The inverse correlation between friction and IL structure can be used to design weakly structured ILs which are excellent lubricants.