The thymus is in the upper front part of your chest, just behind your breastbone (sternum) and in front of your heart, in an area called the anterior mediastinum.