One of the important and hazardous contaminant that present in water resources is heavy metal that nowadays their concentration in wastewater increased by cities deployment and industries development and cause generate highly serious anxiety because of their carcinogen, Irresolvable, very toxicity and biological aggregation properties. Therefore, the removal of heavy metals from industrial wastewater is an important environmental issue that today has been much attention. Yet many methods have been developed and applied to remove heavy metal from wastewaters. Among the methods of wastewater treatment using membrane filtration technologies with different types of membranes show great promise for heavy metal removal for their high ef?ciency, easy operation and space saving are very porous and the pores are interconnected through or they can be they can be easily functionalized. For this work at first Nanofiber membranes prepared with different conditions and then simulated wastewater containing metal ion as an aqueous solution, an experimental design based on an orthogonal array (OA) L9 (3 4 ) proposed by Taguchi was used and in any case the efficiency of the filtering process measured and compared. In this study, Firstly nylon 66 nanofibers membrane with a thickness of 100 micrometers and the average diameter of the nanofibers was in the range of 146.68-760.83 nm were made. Then the membrane surface were functionalized with Aminopropyltriethoxysilane(APTES) that is an aminosilane. Two metal, silver and chrome, which are harmful heavy metals are chosen. The effect of electrospinning process parameters such as concentration of polymer solution and take up velocity and filtration process parameters such as initial concentration of metal solution and pH of solution on the adsorption was studied. In investigation of electrospinning process parameters, the results showed that with increasing adsorbent concentration the metal ion rejection initially increased and then decreased, and metal ion rejection decreased with increasing take up velocity. In investigation of filtration process parameters, the results showed that metal ion rejection increased by increasing the pH of solution and decreased by increasing initial concentration of effluent. Maximum efficiency of absorption of silver and chrome, respectively, 99.97% and 93.06% of the polymer solution of 20% (w/w) of nylon 66 was prepared in formic acid / chloroform mixture (75:25 v/v) on carbon foam for 18 hours, applied voltage of 12.3 kV and feed rate 0.31 ml/h, take up velocity 106 rpm, in the cross-flow filtration system for initial concentration 50 ppm for an hour at a pressure level of 1.4 bar and at pH 7 for silver and 8 for Chrome obtained. Filtering mechanism of the membrane is block the pores type and metal ion adsorption isotherm for membrane made ??of nylon 66 nanofiber was Freundlich. The maximum adsorption capacity of Ag and Cr by Freundlich model, respectively, 1946.91and 650.41 mg/g was shown to have a high capacity to work. Keywords: heavy metals, wastewater, nanofiber membrane, aminopropyltriethoxysilane, filtration, cross-flow