The test particle insertion method is used to study the solubility of oxygen in two commonly used polymers: polyethylene (PE) and isotactic polypropylene (iPP). Amorphous samples for both polymers were prepared by means of Monte Carlo and molecular dynamics simulations, and the oxygen solubility was measured across different temperatures. The solubility-temperature dependence for iPP proved to be nonmonotonic due to the interplay between binding and reorganizational enthalpy, while for PE, it appeared to be monotonic based on the available data in the studied temperature range. A broad comparison to experiments and simulations is included. Further oxygen insertions were also performed in semicrystalline PE and iPP samples at ambient temperature, and the obtained values were compared to a linear relationship which correlates the solubility in the purely amorphous phase with the solubility in the crystalline phase. The solubility of PE closely follows the linear relationship, while iPP exhibits some divergence. All the semicrystalline samples were previously annealed at elevated temperatures for long periods (a few μs), and a strong effect of annealing was observed on the structure and the solubility of iPP. A well-developed iPP lamellar structure emerged at longer annealing times, while PE develops that structure already in the early crystallization stages. The solubility of semicrystalline iPP samples with lamellar morphology exhibited better agreement with extrapolated solubility values of the amorphous state─the extrapolation was made using a linear relationship connecting solubility in the purely amorphous phase and solubility in mixed phases (amorphous and crystalline). Results on the correlation of the solubility with the local structural ordering are also present.