This medical container (1) is configured in such a manner that, while the closing member (510) of a medical agent container (500) is held by a medical agent container holding member (310), the medical agent container (500) and the medical agent container holding member (310) are pressed and moved toward the connection section (301c) of a tube-like guide member (301) to cause a first piercing needle (356a) to pierce through an elastic closing film (510s) and also to cause the connection member (350) to be pressed and moved toward an infusion solution container (100), causing a second piercing needle (356b) to pierce through a passage closing film (301s). As a result, the medical container is provided with a configuration in which a solution within the infusion solution container does not leak to the outside.