In this study, for the first time, a metal-organic aerogel based on iron core and terephthalic acid linkers was used to the removal of methylene blue from aqueous solutions. Methylene blue is one of the most used industrial dyes and environmental pollutant. Due to its specific synthesis procedure, this sorbent is lightweight and has a high surface area (467 m 2 g -1 ). The effective factors on adsorption efficiency were optimized to achieve maximum removal efficiency. In this regard, adsorption pH, sorbent amount, adsorption time and temperature were investigated. The results showed that the adsorption system had the highest removal efficiency at pH=7.0. Also, the adsorbent showed maximum removal efficiency after 60 min. Adsorption behavior of the synthesized sorbent was studied using Langmuir, Freundlich, and Tamkin's iso-terms and it was observed that the adsorption process follows Langmuir isotherm (R 2 = 0.9991). The results showed that an amount of 15.0 mg of the adsorbent resulted in a maximum adsorption capacity of 3916 mg g -1 under 60 min adsorption.