Solar cells with doped groove regions separated by ridges and methods of fabricating solar cells are described. In an example, a solar cell includes a substrate having a surface with a plurality of grooves and ridges. A first doped region of a first conductivity type is disposed in a first of the grooves. A second doped region of a second conductivity type, opposite the first conductivity type, is disposed in a second of the grooves. The first and second grooves are separated by one of the ridges.
 The invention described herein was made with Governmental support under contract number DE-FC36-07GO17043 awarded by the United States Department of Energy. The Government may have certain rights in the invention.