To prevent the center of the banana bread from sinking you should make sure your baking powder and baking soda have not expired, do not overmix your batter, and make sure you are using the correct size loaf pan.