Abstract: A device for at least one self-heated and dense ceramic tube for gas separation. The device includes at least one dense ceramic tube in an environment accessible to a mixture of gases, the at least one tube acting as a diffusion membrane for separating at least one gas from the mixture of gases. Two electrical contacts are provided which allow connecting a power supply to the ceramic tube and driving an electric current through the ceramic tube. The contacts can be in the farm of short coils wrapped around the ceramic tube at difference places. When a voltage is applied to the contacts, an electrical current flows from one contact to the other through the ceramic tube. The current in the ceramic tube heats the tube. Thus, the tubes heat themselves. The hot tube allows separating a gas from the mixture of gases. The driving force for the diffusion is achieved by a pressure difference generated by pumping at the side of the separated gas and pressing at the side of the mixture of gases.