In order to explore the potential applications of nanofluidic materials in attenuating the dynamic response of pile-supported wharves and reducing their damages,this work built a two-dimensional finite element model of a pile-supported wharf with dampers using the open-source finite element platform OpenSees.The study compared the effects of conventional viscous dampers and nanofluidic dampers on the seismic performance of the pile-supported wharf.Results show that nanofluidic dampers have a better ability to limit the lateral deformation on the top of the piles than viscous dampers and are more effective than viscous dampers in reducing the curvature on the top of the land-side piles.The energy dissipation of pile top with nanofluidic dampers is lower than that of pile top with viscous dampers.