The diamagnetic levitation technique can be applied in non-destructive testing for identifying cracks and defects in magnetic materials. Pyrolytic graphite is a material that can be leveraged in micromachines due to its no-power diamagnetic levitation on a permanent magnet (PM) array. However, the damping force applied to pyrolytic graphite prevents it from maintaining continuous motion along the PM array. This study investigated the diamagnetic levitation process of pyrolytic graphite on a permanent magnet array from various aspects and drew several important conclusions. Firstly, the intersection points on the permanent magnet array had the lowest potential energy and validated the stable levitation of pyrolytic graphite on these points. Secondly, the force exerted on the pyrolytic graphite during in-plane motion was at the micronewton level. The magnitude of the in-plane force and the stable time of the pyrolytic graphite were related to the size ratio between it and the PM. During the fixed-axis rotation process, the friction coefficient and friction force decreased as the rotational speed decreased. Smaller-sized pyrolytic graphite can be used for magnetic detection, precise positioning and other microdevices. The diamagnetic levitation of pyrolytic graphite can also be used for detecting cracks and defects in magnetic materials. We hope this technique will be used in crack detection, magnetic detection and other micromachines.