5G networks are expected to provide gigabit data rate to users via the millimeter-wave (mmWave) communication technology. One of the major problems faced by mmWaves is that they cannot penetrate buildings. In this paper, we utilize multihop relaying to overcome the signal blockage problem in an mmWave band. The multihop relay network comprises a source device, several relay devices, and a destination device and uses device-to-device communication. Relay devices redirect the source signal to avoid the obstacles existing in the propagation environment. Each device amplifies and forwards the signal to the next device, such that a multihop link ensures the connectivity between the source device and the destination device. We consider that the relay devices and the destination device are affected by external interference and investigate the bit error probability (BEP) of this multihop mmWave system. Note that the study of the BEP allows quantifying the quality of communication and identifying the impact of different parameters on the system reliability. In this way, the system parameters, such as the powers allocated to different devices, can be tuned to maximize the link reliability. We derive exact expressions for the BEP of $M$ -ary quadrature amplitude modulation and $M$ -ary phase-shift keying in terms of multivariate Meijer’s G-function. Due to the complicated expression of the exact BEP, a tight lower bound expression for the BEP is derived using a novel Mellin-approach. Moreover, an asymptotic expression for the BEP at high SIR regime is derived and used to determine the diversity and the coding gain of the system. In addition, we optimize the power allocation at different devices subject to a sum power constraint such that the BEP is minimized. Our analysis reveals that optimal power allocation allows achieving more than 3-dB gain compared with the equal power allocation. This paper can serve as a framework for designing and optimizing mmWave multihop relaying systems to ensure link reliability.