Pair programming is a collaborative coding technique where two developers work together at one workstation. One coder writes the code while the other reviews each line as it's written. This practice promotes knowledge sharing, improves code quality, and enhances team collaboration.