A spokeswoman for the NHS in North West London confirmed that the unit had been closed on Wednesday and the service no longer available.
She told Get West London: "The maternity unit at Ealing has now safely closed.
"All women who were booked into the unit have been contacted and had their care transferred to another hospital.
“Antenatal and postnatal care will still be provided in the borough of Ealing with many women now able to receive that care even closer to home.
“By consolidating maternity care across six hospitals in north-west London, we can provide more senior consultant cover in the maternity units, more midwives able to give 1 to 1 care for women, a move towards 24/7 consultant cover on the labour wards, and greater investment in home birth teams.”
The West London Council of Action, a branch of the Workers Revolutionary Party, have had members occupying the hospital for a week in a bid to keep the ward open.
Members have finally left the premises but they say the fight is not over.
Secretary Tony McEvoy said between 200 to 300 people marched through the borough in demonstration on Wednesday with local shops stopping business in solidarity.
Mr McEvoy said: "We have ended the 24 hour occupation but we are resuming our daily picket of the hospital and holding a conference to call for industrial action in the area and nationally to restore Ealing maternity and defend other services.
"The occupation has had a powerful impact, we are very proud of it and we are taking the struggle forward."
A second march also took place on Wednesday with campaign group Save Our NHS.
London Assembly Member Onkar Sahota joined the marchers and said although they cannot reverse today's closure the fight is not over.
He said he wanted to thank staff at the maternity unit for all the hard work they've done.
He added: "The campaign continues and the community needs to move this campaign into a community movement. Members of the public should engage in the process. The hospital must survive.
"We shall monitor the impact of this so we keep pressure on the CCG and on the Government."
The West London Council of Action's public conference will be held on July 19 at TKC restaurant in Southall Broadway from 2pm-5pm.