As microsatellite technology develops, precise inter-satellite measurement shows its significance in distributed satellite systems. In this Letter, a novel technique is proposed for measuring the inter-satellite distance, which adopts optoelectronic resonance and has a function of self-referencing.