Three-dimensional (3D) display can offer the viewer the realism, which is the candidate for the next-generation imaging. 3D display technology without wearing glasses has become research focus. Currently the display of mobile devices is evolved towards 3D. Mobile devices limit the viewing range due to their mass production as well as the algorithm of relative fixity. Only in the area can be achieved a good viewing experience, which leads to the inconvenience for the viewer. The distance adaptive three-dimensional display based on mobile devices is presented. We analyzed the relationship between the viewing distance and the number of pixels for each viewpoint. Based on the viewing distance detected by sensor, the proposed method automatically adjusts the pixels for each viewpoint to accommodate different viewing distance for mobile portable devices. So the method realizes the adaptive distance between the viewer and the device, The experience of viewing 3D images is also improved, as well as the viewing areas is expanded. The crosstalk and the normalized brightness of the 3D picture after restructuring in different distance are measured. Experimental results show that the algorithm with matching parallax barrier can achieve a good 3D view experience at the different distances.