The present invention relates to a container for an implant (5), wherein the inner shape and/or dimensions of the container are adapted to mirror the outer shape and/or dimensions of the implant. The container can be used in methods for infection control and in methods for the diagnosis of infections of implants. These methods comprise an elution step of the microorganisms from an explanted implant, which is performed by ultrasonic methods using the entire container of the invention with the implant inside. Advantageously, the necessary volume of the solution for eluting the microorganisms form the surface of the implants can be reduced by up to 90 % due to the construction of the inside of the container. It will additionally enable a transport between the operating room (OR) and the lab without contamination risk.