This document proposes a method for remote sensing image retrieval using convolutional neural networks with weighted distance and result re-ranking. It has two stages: 1) An offline stage where a pre-trained CNN is fine-tuned on labeled images to extract features for the retrieval dataset. 2) An online stage where the fine-tuned CNN extracts features from a query image and calculates weighted distances to retrieved images, giving more preference to images from similar classes to the query. Experiments on two datasets show the method improves retrieval performance compared to state-of-the-art methods.