Transposases are mobile genetic elements (MGEs) that move within and between genomes, enabling genomic plasticity within microbes. Transposases often carry functional genes, termed cassette sequences, when they migrate within and between genomes. In marine microbial communities, transposase abundance increases with depth, but the reasons for this trend are unclear. Through analysis of metagenomes from the Tara Oceans and Malaspina Expeditions, we identify the particle-associated lifestyle as a main covariate for the high occurrence of transposases in the deep ocean. The abundance of biofilm-associated genes correlates with transposases in a strong and depth-independent manner, suggesting that MGEs readily propagate among microbial communities in crowded biofilms. Genome size positively correlates with particle-associated populations and transposase abundance. This relationship may result from selection for larger genomes, in which essential genes are more sparse and less likely to be disrupted by the recombination activities of MGEs. Genes related to defense mechanisms are enriched in cassette sequences and upregulated in the deep sea. Further, defense mechanism genes in cassette sequences experience stronger selection than other cassette genes. Thus, while transposons can spread at the expense of their microbial hosts, they introduce novel genes and potentially benefit the hosts in accessing heavily contested resources. Together, our results reveal an emerging picture of deep ocean particles as gene sharing highways that result in expanded and defensively oriented microbial genomes.