The company has said the next step will be running tests to make sure there are no other leaks from the well. Tests and monitoring could last from six hours to two days.
The old cap, removed Saturday, did not have a tight fit and allowed crude to escape.
BP is drilling two relief wells so it can pump mud and cement into the leaking well for a permanent fix.