With dopamine and NiFe 2 O 4 particles, a novel modified cotton fabric (PDA-NiFe 2 O 4 @CF) was prepared by one-pot method. Surface morphology, composition of the PDA-NiFe 2 O 4 @CF were investigated with SEM, EDX, XRD and FT-IR, respectively. According to the results, the cotton fiber surface was well coated with NiFe 2 O 4 particles. Subsequently, wetting behavior of the modified cotton fabric was determined. The PDA-NiFe 2 O 4 @CF is superamphiphilic in air, and a dual lyophobic behavior was indicated with an oil contact angle (OCA) of 153° under water and a water contact angle (WCA) of 145° under oil. The rough micro-nano scale surface structure and high-surface-energy compositions of the PDA-NiFe 2 O 4 @CF makes the surface to be easily covered by one medium and enables it to repel other unmixable medium simultaneously. Therefore, water–oil mixtures can be separated on demand. Besides, with the unusual dual lyophobic surface of PDA-NiFe 2 O 4 @CF, both two types of emulsions were separated by gravity driven. On the other hand, it was also found that the as-prepared PDA-NiFe 2 O 4 @CF had good adsorption performance for methylene blue. [ABSTRACT FROM AUTHOR]