A wire electric discharge machine according to the present invention includes a machine learning device which performs machine learning for adjustment of a machining condition of the wire electric discharge machine, the machine learning device includes a state observation unit which acquires data related to a machining state of a workpiece, a reward calculation unit which calculates a reward based on data related to a machining state, a machining condition adjustment learning unit which determines an adjustment amount of a machining condition based on a machine learning result and data related to a machining state, and a machining condition adjustment unit which adjusts a machining condition based on the determined adjustment amount of a machining condition, and the machining condition adjustment learning unit performs machine learning for adjustment of a machining condition based on the determined adjustment amount of a machining condition, data related to a machining state and acquired by the state observat