In the burgeoning era of quantum communications, Internet of Things (IoT) devices in highspeed train (HST) environments encounter formidable challenges. These devices are constrained by limited power and computational capabilities while needing to safeguard their data and communications against adversaries equipped with quantum-grade computational power. To counter such threats, Quantum Key Distribution (QKD) emerges as a vital solution, facilitating secure communication between servers and IoT controllers, thereby shielding the more vulnerable IoT sensors. This paper delves into the application of QKD within the unique scenario of HSTs, employing Free Space Optics (FSO) to establish high data rate communication channels. Our experimental setup involves the integration of FSO links for photon exchange essential to QKD. We meticulously explore the QKD process in the context of HSTs, detailing our methodology that involves the alignment of FSO transceivers on ground base stations with those on the moving trains, thereby enabling efficient photon exchange. The study presents quantitative results demonstrating that this approach allows for the exchange of a substantial number of keys, with negligible impact on FSO data throughput. These findings highlight that our proposed method can significantly enhance IoT communication security in HSTs without compromising the Quality of Service (QoS) offered to train passengers. Furthermore, we assess the system's performance under various visibility conditions, which is crucial for FSO viability. Our results indicate the robustness of the proposed QKD method in diverse operational scenarios, underlining its practical applicability in securing IoT communications within HST environments. Through this study, we provide a comprehensive understanding of implementing QKD in highspeed mobile settings, contributing valuable insights into its effectiveness and feasibility.INDEX TERMS QKD, BB84, Quantum security, FSO, wireless optic communication, high speed train.