Formaldehyde is a pollutant that significantly affects the indoor air quality. However, conventional remediation approaches can be challenging to deal with low-concentration formaldehyde in an indoor environment. In this study, Photocatalysts of Ag/graphitic carbon nitride (g-C3N4)/Ni with 3D reticulated coral structure were prepared by thermal polymerization and liquid phase photo-deposition, using nickel foam (NF) as the carrier. Experiments demonstrated that when the Ag concentration was 3%, and the relative humidity was 60%, the Ni/Ag/g-C3N4 showed the maximum degradation rate of formaldehyde at 90.19% under visible light irradiation, and the formaldehyde concentration after degradation was lower than the Hygienic standard stated by the Chinese Government. The porous structure of Ni/Ag/g-C3N4 and the formation of Schottky junctions promoted the Adsorption efficiency and degradation of formaldehyde, while the nickel foam carrier effectively promoted the desorption of degradation products. Meanwhile, the degradation rate was only reduced by 3.4% after 16 recycles, the three-dimensional porous structure extended the lifetime of the photocatalyst. This study provides a new strategy for the degradation of indoor formaldehyde at low concentrations.