A terminal mismatch consists of the first unpaired bases immediately following a stack. The identity of the terminal mismatch often influences the energy of the loop.