Bacteriocins are toxins produced by bacteria to kill competitors of the same species. Theory and laboratory experiments suggest that bacteriocin production and immunity play a key role in the competitive dynamics of bacterial strains. The extent to which this is the case in natural populations, especially human pathogens, remains to be tested. We examined the role of bacteriocins in competition using Pseudomonas aeruginosa strains infecting lungs of humans with cystic fibrosis (CF). We assessed the ability of different strains to kill each other using phenotypic assays, and sequenced their genomes to determine what bacteriocins ( pyocins) they carry. We found that (i) isolates from later infection stages inhibited earlier infecting strains less, but were more inhibited by pyocins produced by earlier infecting strains and carried fewer pyocin types; (ii) this difference between early and late infections appears to be caused by a difference in pyocin diversity between competing genotypes and not by loss of pyocin genes within a lineage over time; (iii) pyocin inhibition does not explain why certain strains outcompete others within lung infections; (iv) strains frequently carry the pyocin-killing gene, but not the immunity gene, suggesting resistance occurs via other unknown mechanisms. Our results show that, in contrast to patterns observed in experimental studies, pyocin production does not appear to have a major influence on strain competition during CF lung infections.