A combination of membrane processes was applied to treat the digestate produced after the anaerobic treatment of pig manure in a biogas plant, aiming towards the recovery of nutrients and effective water treatment for potential reuse. Initially, coarse filtration (sieving and microfiltration) was used to remove particles larger than 1 µm, followed by ultrafiltration, to reduce the suspended solids concentrations below 1g/L. Subsequently, selective electrodialysis is employed to recover the main nutrient ions, primarily ammonium and potassium. The ion-depleted digestate is then fed to a reverse osmosis unit, where clean water was recovered, yielding a by-product (concentrate) stream enriched in phosphates and organics content. The presence of antibiotics and the concentrations of heavy metals were monitored during all treatment stages to assess their behavior/removal in the various membrane processes. The results indicate that almost 51% of the digestate could be recovered as water free from ions and antibiotics, suitable for reuse in the biogas plant for process needs and irrigation purposes. The selective electrodialysis process can recover 51% of initial NH4+ content (corresponding to 96% of the electrodialysis feed), while the remainder largely ended up in the ultrafiltration concentrate. A similar behavior was observed for the case of K+, while approximately 68% of the phosphates content was retained by the coarse filtration process, with another 24% remaining in the ultrafiltration concentrate and the remaining 8% in the reverse osmosis concentrate. Most of the antibiotics and heavy metals were retained by the coarse and ultrafiltration steps, with smaller amounts detected in the reverse osmosis concentrate.