Yes, Pepto Bismol can be taken for heartburn. It helps to relieve the discomfort associated with heartburn by neutralizing excess stomach acid.