P. rubens has four chromosomes. The genome of the Wisconsin strain has been most studied. The nuclear genome of 54-1255 strain, regarded as low-penicillin producer, has a size of 32.19 Mb. There are 13,653 open reading frames (ORFs), including 592 probable pseudogenes and 116 truncated ORFs. Three genes, namely pcbAB, pcbC, and penDE constitute the core sites for penicillin biosynthesis. They are distributed in clusters among other  (ORFs) in a 58.8 kb region, on chromosome 2. pcbAB encodes an enzyme α-aminoadipoyl-L-cysteinyl-D-valine synthetase, pcbC encodes isopenicillinN (IPN) synthase, and penDE, encoding acyl-CoA:isopenicillinN acyltransferase. The high penicillin-producing strain, NCPC10086, has slightly larger genome of 32.3 Mb, with about 13,290 protein-coding genes. There are at least 69 genes not present in 54-1255 strain. The gene Pch018g00010 that codes for enzymes in glutathione metabolism is considered as the key factor in enhanced penicillin production of this strain.
The mitochondrial genome consists of 31,790 bp and 17 ORFs. Enzymes synthesised from the nuclear genome are not sufficient for complete synthesis of penicillin. Enzymes of the final biosynthetic pathway such as acyl-CoA:isopenicillinN acyltransferase28 and phenylacetyl-CoA ligase are synthesised in separate cell organelles called microbodies (peroxisomes). The peroxisome gene pex11 is essential for controlling the amount of penicillin synthesis; the more the gene is activated (expressed), the more the penicillins.