An electrode for medical applications for neuromodulation and/or nerve stimulation and/or neurological signal detection, which electrode can be compressed and expanded in order to insert same into a hollow organ of a body and is or can be coupled to a current supply. The electrode has a compressible and expandable lattice structure including lattice webs, which form cells, wherein the lattice structure is or can be coupled to the current supply and forms at least one electrically conductive region and at least one electrically insulated region.