The lateral sealing of a fault plays a pivotal role in the efficacy of a fault trap and its degree of hydrocarbon filling. Nevertheless, the evaluation of this phenomenon remains a challenging task, with evaluation methods either unable to accurately reflect subsurface reality or obtaining the necessary parameters difficult. In light of these considerations, a porosity-based fault laterality evaluation method was proposed, with the F1 Fault of the Nanpu No. 5 structure in the Nanpu Sag serving as the research object. First, the relationship between porosity and the product of burial depth and shale content was established using measured porosity, burial depth, and shale content data of the surrounding rocks in the study area. Subsequently, the reservoir rock porosity was obtained by employing logging data or core samples or by calculating the reservoir rock shale content from natural gamma logging data. Concurrently, the shale content of fault rock was calculated using three-dimensional (3D) seismic data, mud logging data, and natural gamma logging data, thereby enabling its porosity to be determined. Finally, the porosity difference between the two was employed to assess the lateral closure of faults. The results indicate that the porosity difference is less than 0 at lines L1~L3 of the F1 Fault, which suggests that the fault is not laterally closed at this site. Conversely, the F1 Fault is laterally sealed at this location, as indicated by the porosity difference being greater than 0 at lines L4~L10. The findings of this evaluation were found to be in close alignment with the actual distribution of oil and water, indicating that the proposed method can accurately evaluate the lateral closure of faults with developed fault rocks and provide valuable guidance for the exploration of faulted oil and gas reservoirs.