Background Young people have a higher chance of experimenting with sex before marriage, thus they engage in risky sexual behaviours that predispose them to HIV infections. The objective of this study was to assess the relationship between engaging in risky sexual behaviours and the uptake of HIV testing services among young people in Ghana. Methods We analysed secondary data from the 2017/2018 Ghana Multiple Indicator Cluster Survey, which collected data on population and health indicators across the previous ten regions of Ghana, using a Computer Personal Assisted Interviewing application. Data were analysed using descriptive statistics, Chi-square test and Binomial Logistic regression. Results Seventy-nine per cent (79%) of young women and 68% of young men did not use a condom during last sexual intercourse. In addition, 68% of young women and 87% of young men had not tested for HIV. Young women (AOR = 2.19; 95% CI 1.56-3.07) and young men (AOR = 3.38; 95% CI 1.18-9.64) aged 20-24 years had a higher likelihood of being tested for HIV compared to those aged 15-19 years. Young women with junior high school education (AOR = 2.03; 95% CI 1.08-3.81) were more likely to test for HIV compared with those who had pre-primary/no formal education. In addition, young women who were never married or in a union (AOR = 0.39; 95% CI 0.27-0.56) had 61% of reduced odds of being tested for HIV compared with those who were currently married or in a union. There was no significant association between risky sexual behaviours and HIV testing (p > 0.05). Conclusion This study demonstrated that condom use among sexually active young people was low. The uptake of HIV testing services was below expectation. Age, educational status, marital status and exposure to the mass media were the salient factors influencing the uptake of HIV testing among young people. Stakeholders should implement interventions to help increase the uptake of HIV testing and condom use among young people in Ghana. Plain Language summary Sub-Sahara Africa is the only region in the world where the number of young people continues to increase greatly. Many of the new HIV infections among young people across the world happen in sub-Saharan Africa. Young people engage in unsafe sexual behaviours, such as having sex without a condom, beginning sexual intercourse at an early age and having sex with many partners, which increases their chance of getting infected with HIV. Testing for HIV helps in the early discovery of the virus which is crucial for effective HIV management and prevention. Increasing HIV testing is one of the health issues cherished by global health leaders. However, little is known about whether young people who engage in unsafe sexual behaviours utilize HIV testing services. The analysed data were collected as part of the 2017/2018 Multiple Indicator Cluster Survey across all the regions of Ghana. Our findings showed that many of the sexually active young people who participated in the survey had not tested for HIV, hence did not know their HIV status. Making matters worse, many of them engaged in unsafe sexual behaviours, such as unprotected sexual intercourse. Young people aged 20-24 years, those with higher education and married young women were more likely to utilize HIV testing services. To help end HIV as a public health threat by 2030, it is very necessary for stakeholders to educate young people about the dangers associated with unsafe sexual behaviours as well as encourage them to know their HIV status.