The invention discloses a three-dimensional flow field testing method based on a single light field camera, A1, using a single light field camera to obtain a time series particle light field image of tracer particles in the flow field to be tested; A2, preprocessing the time series particle light field image , to remove background noise; A3, use CPU and/or GPU parallel processing methods to reconstruct time-series particle light field images to obtain time-series 3D particle images; A4, perform cross-correlation calculations on time-series 3D particle images to obtain 3D flow field velocity Field distribution; A5, post-processing the velocity field of the three-dimensional flow field, eliminating the wrong velocity vector, and replacing the eliminated wrong vector with interpolation based on the adjacent correct vector. The present invention can obtain the three-dimensional velocity distribution of the flow field to be tested through the sequential image acquisition of a single light field camera. Compared with the existing multi-view three-dimensional flow field test method, the hardware system configuration is greatly reduced and the hardware system adjustment is simplified. Steps, especially suitable for three-dimensional flow field measurement in confined space.