A density controller is provided for a bagging machine designed for filling or packing material such as silage, compost or the like into an elongate flexible bag or container. The adjustable density controller comprises a drag member or strap with a selectively adjustable length that is positioned beneath the bag being filled and the ground. The weight of the material in the bag on the flexible member resists the forward movement of the bagging machine away from the closed end of the bag. The density of the material being packed or bagged is varied by the surface area of the flexible member that is positioned beneath the bag being filled.