Natural mineral composite catalysts have attracted much attention due to their great potential in the fields of water treatment, air purification and energy conversion. In this study, porous TiO2 materials were synthesized from ilmenite by a two-stage calcination and acid leaching process, and porous TiO2/CdS composites were prepared by a hydrothermal method. The results of photocatalytic experiments indicate that the porous TiO2/CdS composite (PTC-2) with a Ti/Cd molar ratio of 1:1 exhibits the highest photocatalytic activity, with the degradation rate of methylene blue achieving a maximum value of 96.6% at 80 min. Moreover, the composite maintains a degradation efficiency of 88.5% after five cycles. The findings demonstrate that the TiO2/CdS heterojunction significantly enhances the photocatalyst's absorption of visible light while facilitating the effective separation and transfer of photogenerated electron–hole (e−/h+) pairs. The porous architecture of the composite facilitates superior electron transport pathways and effectively mitigates e−/h+ recombination. Furthermore, a mechanism for the photocatalytic degradation of organic dyes using porous TiO2/CdS composites is proposed, wherein photogenerated superoxide radicals (·O2−) and hydroxyl radicals (·OH) serve as the primary reactive species. This study explores the cost-effective synthesis of TiO2/CdS heterojunctions and makes a significant contribution to the advancement and utilization of natural minerals for pollution degradation.