The present invention provides a baglike container for centrifugation (1) that is mounted in a centrifuge to thereby allow centrifugation of a dispersion liquid accommodated therein. The baglike container for centrifugation has a main frame constituted of a first container wall (3) with a recess portion (6) formed so as to allow mounting in the centrifuge and with a flange portion (7) provided on a periphery surrounding an aperture of the recess portion (6), and a flexible second container wall (4) having its peripheral portion sealed mutually with the flange portion (7) of the first container wall (3) so as to define a storing space (6) for the dispersion liquid in cooperation with the recess portion (6), and a port (5) mounted in the main frame so as to be in communication with the storing space (6), wherein the recess portion (6) defining the storing space (6) can be set in the centrifuge so as to apply a centrifugal force perpendicular to the bottom plane of the recess portion (6). Moreover, a method of gene transfer using such the baglike container is disclosed.