A universal rail flat-open wagon mainly comprises a container lock hole, an end wall, an upper side wall, an upper side wall ejector rod, a gear A, a gear B, a gear C, a lower side wall ejector rod, aball screw, a bottom frame, a lower side wall, diagonal bracings, side columns, a locking device, lock pins, lock rods, a cam, a rotating shaft hole, an end wall lock hole, an end wall rotating shaft, an end wall lock, a handle and a rotary handlebar. The functions of an open wagon and a flat wagon are shared, and granular goods can be transported when the flat-open wagon is used as an open wagon(such as coal transportation, and the work condition of a car dumper can be adapted); and when used as a flat wagon, the flat-open wagon can complete transportation of container flat cars. Vehicle type substitution is enhanced, the empty-wagon walking rate is lowered, and the universal rail flat-open wagon has important significance for improving railway transporting efficiency.