The invention relates to a solar cell with a base layer (12) having a first doping that, together with a front layer (14) having a second doping of opposite polarity, forms a boundary layer. The solar cell has at least one front contact (18) and at least one rear contact (32). A passivation layer (24) and a tunnel contact layer (26, 28) are placed between the base layer (12) and the rear contact (32).