To prevent banana bread from sinking, ensure it is thoroughly baked. Insert a toothpick into the center of the bread. When it comes out clean, the bread is done. Allow to cool on a wire baking rack.