The emergence of the internet of things (IoT) is changing the behavior of people, companies, and their businesses. The IoT can enhance e-commerce by reducing the gaps between the virtual and physical worlds. Although the integration of the IoT into e-commerce has several positive effects, security concerns are greater in the IoT context than in traditional e-commerce settings. The proposed research model is based on the unified theory of acceptance and use of technology 2 (UTAUT2) along with trust, privacy, and confidential data concerns to explain the intention to use the IoT in e-commerce. The authors developed a questionnaire and received a total of 328 responses. The results show that among the IoT security factors, trust and privacy are significant determinants of the intention to use the IoT in e-commerce.