This study focuses on the effects of hydrous alteration minerals, formation absorption, and standoff on the response of the thermal neutron porosity log in the basaltic and gabbroic rocks logged at sites 395, 418, 504, 642, and 735 during the Ocean Drilling Program. The concentration of hydrogen present in the rocks in the form of free water (pore space) and bound water (hydrous minerals) is the primary factor controlling the neutron elastic scattering process, while the presence of other elements, such as chlorine, gadolinium, boron, lithium, and samarium in the fluids and in the rock matrix can largely affect the thermal diffusion phase. These neutron absorbers cause an increase of the capture cross section, and in turn of the apparent thermal porosity. Further perturbations occur when the recording conditions depart from those under which the tool has been calibrated; a large and irregular hole diameter and a lack of eccentralization both produce erroneous porosity readings. The effect of hydrous alteration minerals on the thermal neutron porosity log has been estimated from 922 core oxide measurements using an analysis program that calculates the slowing‐down length and converts it into apparent porosity. The results show that the computed apparent porosity ranges from less than 1% in fresh basalts and gabbros to about 30% in highly altered units. Depending on the alteration mineral assemblage, natural gamma ray, capture cross section, or hydrogen logs have been used to continuously predict the effect of bound hydrogen at each site. Corrected porosities generally show excellent agreement with core data for massive units, whereas they are higher for pillow basalts and fractured zones. The discrepancy is interpreted as the result of (1) difference in the volume of rock investigated (core specimens do not sample large vugs and fractures) and (2) frequent variations in the hole size and lack of tool contact with the borehole wall (standoff), not completely accounted for in the corrections. High capture cross section values measured on selected basalt samples seem to be associated with more altered basalts, suggesting a larger concentration of strong neutron absorbers in secondary minerals. The concentrations of elements with large capture cross section (Σ) measured at three of the five sites studied yield a maximum increase of 1% in the apparent neutron porosity. This is too low to explain the porosity values, some greater than 7%, observed in some of the fresh and unfractured massive units. A 1‐ to 2‐inch standoff due to the lack of eccentralization of the tool string used in the Ocean Drilling Program is considered the most probable cause of such discrepancy. This interpretation is confirmed by the neutron porosity values recorded at site 735, where the nuclear string was for the first time fully eccentralized, and only a correction for borehole size and the presence of hydrous minerals has been applied.