Effects of the attractive and repulsive parts of hydrophobic interactions on α helices and β sheets in small peptides are investigated using a simple atomic potential. Typically, a physical spatial range of attraction tends to favor β sheets, but α helices would be favored if the attractive range were more extended. We also found that desolvation barriers favor β sheets in collapsed conformations of polyalanine, polyvaline, polyleucine, and three fragments of amyloid peptides tested in this study. Our results provide insight into the multifaceted role of hydrophobicity in secondary structure formation, including the α to β transitions in certain amyloid peptides.