Abstract Current approaches to defect detection and segmentation make essential use of machine learning methods. To develop lightweight models is one of key tasks for many defect detection and segmentation applications. In this work, we present a lightweight trilateral parallel feature extraction with multi-feature aggregation network (TriMFANet) for surface defect detection and segmentation. In TriMFANet, the top lateral is the feature-rich extraction (FrE) used to capture detailed information. The other two laterals, efficient semantic feature extraction (ESFE) and reverse efficient semantic feature extraction (reESFE), leverage Hadamard product (HP) attention to jointly extract deep-level global feature information. Additionally, the multi-feature aggregation (MFA) module employs origin-symmetric sigmoid (OS) attention to enhance deep feature information and integrates the triple features. We conducted binary defect segmentation tasks on the SD-saliency-900 and RSDDs datasets, achieving outstanding performance in both Sα and Eξ. For multi-class defect detection tasks on the NEU-Seg and MSD datasets, we rank first with mIoU scores of 79.0% and 81.2% respectively. Experimental results demonstrate that our lightweight model with only 90K parameters exhibits excellent performance.