The invention provides a handle forming mechanism used for a bucket or a pot type container and belongs to metal steel wire bending forming machinery. The handle forming mechanism used for the bucket or the pot type container comprises a base, an action cylinder, a pair of steel wire placing devices, an upper die frame, a first embracing arm and a second embracing arm. A set of stand columns are fixed on the base, a stand column plate is fixed on the tops of a group of stand columns, a lower die frame is fixed on the stand column plate, and a space-retaining cavity is formed in the lower die frame. A die head base is fixed with the lower die frame, a handle forming groove is formed in the die head base, and a die handle cooperating cavity is formed in the middle of the die head base. The die head is composed of a semi-cylinder and a die handle, handle feet forming die insertion grooves are formed in two sides of the semi-cylinder, handle feet forming dies are arranged in the handle feet forming die insertion grooves, a wear-resisting block is inlaid on the top of the semi-cylinder, and the die handle is formed in the semi-cylinder. The action cylinder is fixed on the base, the pair of steel wire placing devices are arranged on two sides of the lower die frame, the upper die frame is fixed with an embracing arm frame, the first embracing arm and the second embracing arm are connected to two sides of the embracing arm frame and respectively form a first embracing arm arc-shaped cavity and a second embracing arm arc-shaped cavity. The handle forming mechanism used for the bucket or the pot type container has the advantages of relieving operation intensity, improving efficiency, guaranteeing quality, being convenient to operate and maintain and saving cost.