A crown-ether based ion sensor with mesoporous silica membrane was fabricated for the first time, and drastic selectivity reversal was attained in comparison with conventional sol–gel-derived membrane based on the same crown ether.