1. Immediately following.
The health clinic had back-to-back appointments for the new students during the first week of school.
2. Very close to, as if touching.
Sardines are always packed in the can back-to-back.
The bus was so full that people had to stand back-to-back.
Source: A Dictionary of American Idioms