The diplomatic relations between Azerbaijan and Pakistan have undergone significant development since the late 1990s. Despite some studies focusing on diplomatic and political relations, the economic dimension of this partnership has not been systematically covered. In this paper, a robust least squares (RLS) approach is used to model bilateral trade between the two countries and identify statistically significant determinants, including economic, institutional, and cultural factors, after analyzing the main economic and subsectoral trade dynamics of both countries. The results reveal that Azerbaijan's imports from Pakistan are significantly associated with the country's higher income and market size, while Pakistan's elevated exchange rate and trade costs hinder bilateral trade. In addition, Pakistan's rising manufacturing output increases exports to Azerbaijan but decreases imports from Azerbaijan. Among institutional determinants, government effectiveness, the trade freedom index (TFI), and political stability play significant roles in bilateral trade. Lastly, it was found that cultural proximity increases Pakistani exports to Azerbaijan but not imports from Azerbaijan. The analysis also indicates that domestic savings stimulate Pakistani exports. These findings underscore the complex nature of bilateral trade between Azerbaijan and Pakistan and highlight the need for institutional arrangements to harmonize trade flows and boost welfare gains from trade. The results may be of great importance to intergovernmental working groups, domestic policymakers, and businesses.