This study aims to fill a research gap by focusing on ride-hailing services (RHSs) as first- and last-mile (FLM) modes linking intercity hubs, which have been explored less than metro hubs. Involving 418 RHS users in the Yogyakarta conurbation, Indonesia, this study applies confirmatory factor analysis to identify the motivations for using RHSs as FLM modes and employs a seemingly unrelated regression model to analyse factors influencing RHS usage and the relationship between first-mile and last-mile use, which remains underexplored. The model’s results reveal that the utilization of RHSs for the first mile is mostly seen among younger, educated, and wealthy persons. However, these variables did not impact last-mile-mode use. The model’s results also show that in FLM contexts, vehicle ownership did not substantially impact RHS use. In addition, RHSs are less often used for trips to intercity bus terminals compared to airports and railway stations. This study also highlights the significance of user preferences, such as comfort and safety, seamless transaction and service, and cost and time efficiency, in influencing the use of RHSs for FLM modes. Increasing RHS accessibility at transit hubs, expanding e-payment options, simplifying payments, and prioritizing fairness are suggested strategies to improve urban sustainability through RHSs.