The fluctuation relations are a central concept in thermodynamics at the microscopic scale. These relations are experimentally verified by measuring the entropy production in a single-electron box coupled to two heat baths. Recently, the fundamental laws of thermodynamics have been reconsidered for small systems. The discovery of the fluctuation relations1,2,3,4,5 has spurred theoretical6,7,8,9,10,11,12,13 and experimental14,15,16,17,18,19,20,21,22,23,24,25 studies. The concept of entropy production has been extended to the microscopic level by considering stochastic trajectories of a system coupled to a heat bath. However, this has not been studied experimentally if there are multiple thermal baths present. Here, we measure, with high precision, the distributions of microscopic entropy production in a single-electron box consisting of two islands with a tunnel junction. The islands are coupled to separate heat baths at different temperatures, maintaining a steady thermal non-equilibrium. We demonstrate that stochastic entropy production8,10,11,12,17,20,25,26 from trajectories of electronic transitions is related to thermodynamic entropy production from dissipated heat in the respective thermal baths. We verify experimentally that the fluctuation relations for both definitions are satisfied. Our results reveal the subtlety of irreversible entropy production in non-equilibrium.