<p>Provided is a dynamic image encoding device which performs a motion compensation prediction encoding on a dynamic image. The dynamic image encoding device includes: an acquisition unit which acquires a usable block having a motion vector from the encoded blocks adjacent to the block to be encoded, and the number of usable blocks; a selection unit which selects one block from the usable blocks; a selection information encoding unit which encodes the selection information which identifies the selected block by using a code table corresponding to the number of the usable blocks; and an image encoding unit which performs motion compensation prediction encoding on the block to be encoded by using the motion vector of the selected block.</p>