Infragravity waves are surface gravity waves in the ocean with periods longer than approximately 30 s. Infragravity waves propagate transoceanic distances and, because of their long wavelengths, provide a mechanism for coupling wave processes in the ocean, atmosphere, and the solid Earth. Here, we present a strict physical justification for the hypothesis that background ocean waves may generate waves in the upper atmosphere. We show that, at frequencies below a certain transition frequency of about 3 mHz, infragravity waves continuously radiate their energy into the upper atmosphere in the form of acoustic-gravity waves. Based on ionospheric observations and estimates of the fluxes of the mechanical energy and momentum from the deep ocean, we conclude that acoustic-gravity waves of oceanic origin may have an observable impact on the upper atmosphere. We anticipate our work to be a starting point for a detailed analysis of global manifestations of the ocean-generated background acoustic-gravity waves.