Osmotrophic microorganisms, such as fungi and oomycetes, feed by secreting depolymerizing enzymes to process complex food sources in the extracellular environment, and taking up the resulting simple sugars, micronutrients and amino acids. As a consequence of this lifestyle, osmotrophs engage in the acquisition and protection of public goods. In this Opinion article, we propose that horizontal gene transfer (HGT) has played a key part in shaping both the repertoire of proteins required for osmotrophy and the nature of public goods interactions in which eukaryotic microorganisms engage.