Electroweak baryogenesis provides an attractive explanation of the origin of the matter–antimatter asymmetry that relies on physics at the weak scale and thus it is testable at present and near future high-energy physics experiments. Although this scenario may not be realized within the Standard Model, it can be accommodated within the MSSM provided there are new CP-violating phases and the lightest stop mass is smaller than the top-quark mass. In this work we provide an evaluation of the values of the stop (mt˜) and Higgs (mH) masses consistent with the requirements of electroweak baryogenesis based on an analysis that makes use of the renormalization group improved Higgs and stop potentials, and including the dominant two-loop effects at high temperature. We find an allowed window in the (mt˜,mH)-plane, consistent with all present experimental data, where there is a strongly first-order electroweak phase transition and where the electroweak vacuum is metastable but sufficiently long-lived. In particular we obtain absolute upper bounds on the Higgs and stop masses, mH≲127 GeV and mt˜≲120 GeV, implying that this scenario will be probed at the LHC.