Sulphur-doped carbon was synthesized using a thiophene-based twin monomer. While tetra(thiophene-2-ylmethoxy)-silane can be converted into sulphur containing nanocomposites, which lead to microporous sulphur-doped carbon, it is possible to produce additional mesopores by the use of templates. Thus, a variety of sulphur-doped carbon materials with tailored pore texture are available.