Solid-phase extraction is one the most useful and efficient techniques for sample preparation, purification, cleanup, preconcentration, and determination of heavy metals at trace levels. In this paper, functionalized MCM-48 nanoporous silica with 1-(2-pyridylazo)-2-naphthol was applied for trace determination of copper, lead, cadmium, and nickel in water and seafood samples. The experimental conditions such as pH, sample and eluent flow rate, type, concentration and volume of the eluent, breakthrough volume, and effect of coexisting ions were optimized for efficient solid-phase extraction of trace heavy metals in different water and seafood samples. The content of solutions containing the mentioned heavy metals was determined by flame atomic absorption spectrometry (FAAS), and the limits of detection were 0.3, 0.4, 0.6, and 0.9 ng mL(-1) for cadmium, copper, nickel, and lead, respectively. Recoveries and precisions were >98.0 and <4%, respectively. The adsorption capacity of the modified nanoporous silica was 178 mg g(-1) for cadmium, 110 mg g(-1) for copper, 98 mg g(-1) for nickel, and 210 mg g(-1) for lead, respectively. The functionalized MCM-48 nanoporous silica with 1-(2-pyridylazo)-2-naphthol was characterized by thermogravimetry analysis (TGA), differential thermal analysis (DTA), transmission electron microscopy (TEM), Fourier transform infrared spectrometry (FT-IR), X-ray diffraction (XRD), elemental analysis (CHN), and N2 adsorption surface area measurement.