In this study, polyaniline/sugar beet pulp (PANI/SBP) composites were synthesized, and the potential use of composites was determined for the removal of copper [Cu (II)] and nickel [Ni (II)] from wastewater. The structural and morphological properties of composites were determined by Fourier Transform Infrared Spectroscopy (FTIR) and Scanning Electron Microscope (SEM), respectively. The metal removal of composites from aqueous solutions was monitored by Ultraviolet Visible Absorption Spectrometer (UV-Vis). At this stage, some parameters, such as adsorbent dosage, stirring speed and contact time, the initial concentration of metal solutions and pH, were changed, and the most suitable condition was selected for metal removal. Metal removal from wastewater was determined by Inductively Coupled Plasma Optical Emission Spectrometry (ICP-OES) at optimum conditions. FTIR and SEM results supported the formation of PANI/SBP composites. Under optimum conditions, ICP-OES results for wastewater treated with PANI/SBP composite showed that this composite can be used for the removal of copper and nickel from wastewater.