A hearing device (10, 300, 350) comprising a housing that is configured to at least partly be positioned in the ear canal of a wearer, the housing having a first part configured for extending into the ear canal of the wearer, wherein the first part of the housing is custom formed to the intended wearer's ear canal, and the housing having a second part configured to be positioned towards or at the opening of the ear canal of the wearer, the second part comprising a faceplate (170, 265), the hearing device (10, 300, 350) comprising: an input transducer for registering ambient sound and providing an electrical signal representing the ambient sound, a sound processor for processing the electrical signal, a battery (160, 185, 220, 255) arranged in the housing, an output transducer to provide the processed electrical signal to the wearer, an antenna unit (150, 240, 270, 310) for reception and/or emission of electromagnetic energy, the antenna unit (150, 240, 270, 310) positioned at the faceplate (170, 265) in the second part of the housing, a communication unit for processing of data to be transmitted or received via the antenna unit (150, 240, 270, 310), and a transmission line (220, 320) connecting the communication unit and the antenna unit, the transmission line (220, 320) configured to transfer a signal from the communication unit to the antenna unit (150, 240, 270, 310) and/or from the antenna unit (150, 240, 270, 310) to the communication unit, so as to minimize parasitic effects on the antenna unit (150, 240, 270, 310), characterized in that the transmission line (220, 320) is a coaxial cable and the shield of the coaxial cable is terminated at the battery (160, 185, 220, 255) and/or at a battery spring, and wherein the housing includes an extractor cord for removing and/or inserting the hearing device (10, 300, 350) in the ear canal of the wearer, and the antenna unit (150, 240, 270, 310) is at least partly disposed within the extractor cord. an input transducer for registering ambient sound and providing an electrical signal representing the ambient sound, a sound processor for processing the electrical signal, a battery (160, 185, 220, 255) arranged in the housing, an output transducer to provide the processed electrical signal to the wearer, an antenna unit (150, 240, 270, 310) for reception and/or emission of electromagnetic energy, the antenna unit (150, 240, 270, 310) positioned at the faceplate (170, 265) in the second part of the housing, a communication unit for processing of data to be transmitted or received via the antenna unit (150, 240, 270, 310), and a transmission line (220, 320) connecting the communication unit and the antenna unit, the transmission line (220, 320) configured to transfer a signal from the communication unit to the antenna unit (150, 240, 270, 310) and/or from the antenna unit (150, 240, 270, 310) to the communication unit, so as to minimize parasitic effects on the antenna unit (150, 240, 270, 310), characterized in that the transmission line (220, 320) is a coaxial cable and the shield of the coaxial cable is terminated at the battery (160, 185, 220, 255) and/or at a battery spring, and wherein the housing includes an extractor cord for removing and/or inserting the hearing device (10, 300, 350) in the ear canal of the wearer, and the antenna unit (150, 240, 270, 310) is at least partly disposed within the extractor cord.