The invention discloses a method and device for identifying a fluid type of a high-pressure fluid in a pipeline during rapid pressure change, belonging to the field of fluid type identification. The device mainly comprises an incoming fluid pipeline, a fixed baffle, an incoming fluid pipeline joint, an incoming fluid sensor three-way joint, a high-pressure resistant quartz transparent tube, an outgoing fluid sensor three-way joint, an outgoing fluid pipeline joint, an outgoing fluid pipeline, an adjusting sleeve, an adjusting bolt with a through hole, an incoming fluid pressure sensor, an incoming fluid pressure transmitter, an outgoing fluid pressure sensor, an outgoing fluid pressure transmitter, a computer, a light source and a high-speed video camera. The pipeline is sealed by adjusting the screwing length of the adjusting sleeve and the adjusting bolt with the through hole. The method comprises the steps of: performing Hilbert-Huang transformation on pressure differential data to obtain each modulus energy ratio; then regarding each modulus energy ratio as input vectors of an Elman neural network to finish mapping from a characteristic space to a fluid type space. The method and device for identifying the fluid type of the high-pressure fluid in the pipeline during the rapid pressure change, disclosed by the invention, has advantages of simple structure, convenience in detachment and capability of identifying fluid type of high-pressure fluid in the pipeline rapidly and exactly during the rapid pressure change.