Temperature is one of the most important factors in all living organisms for survival. Being a unicellular organism, bacterium requires sensitive sensing and defense mechanisms to tolerate changes in temperature. During a temperature shift, the structure and composition of various cellular molecules including nucleic acids, proteins, and membranes are affected. In addition, numerous genes are induced during heat or cold shocks to overcome the cellular stresses, which are known as heat- and cold-shock proteins. In this review, we describe the cellular phenomena that occur with temperature change and bacterial responses from a molecular perspective, mainly in Escherichia coli.