This study discussed the application of optical fibers in addressing the problem of insufficient light harvesting and sensing health monitoring in ancient buildings. Based on three-dimensional (3D) printing technology to fix the light-harvesting lens and conducting optical fiber, develop the replacement parts that can be buried into the optical fiber of ancient buildings. By introducing the experimental application to improve the experimental quality of research and teaching. Firstly, it highlights the advantage that the optical fiber plus lens structure design can make the natural light introduced for a long time; secondly, it points out that the buried optical fiber structure design does not affect the warmth and sound insulation of the building; finally, the health monitoring of the building is realized through the proposed method of buried optical fiber sensing. The design scheme adopts a fiber optic light transmission and sensing system, which can realize the whole system's corrosion resistance, after laying buried and low-cost operation.