Let F be a number field and O F its ring of integers. We use Chevalley's ambiguous class number formula to give a criterion for the nonexistence of solutions to the unit equation λ + µ = 1, λ, µ ∈ O × F . This is then used to strengthen a criterion for the asymptotic Fermat's Last Theorem due to Freitas and Siksek.