05 · Trading Partners: With Whom Does Bahrain Trade?

Objective. Identify Bahrain's principal import suppliers and export markets, measure how concentrated trade is across partners, and compare the weight of GCC and non-GCC partners before the 2026 conflict.

Scope. Rankings and shares use complete years (2021–2025). The monthly regional series covers the full period to September 2026.

Measures.

  • Partner share: a partner's value as a percentage of the trade type's total.
  • Herfindahl–Hirschman Index (HHI): the sum of squared partner shares (0–10,000). Values below 1,500 are conventionally read as unconcentrated and values above 2,500 as highly concentrated.
  • Unit value: BHD per kilogram, used to compare suppliers of the same product.
%load_ext autoreload
%autoreload 2

import pandas as pd
import plotly.express as px

from scripts.analysis import load_trade, full_years, to_millions
from scripts.plotly_theme import use_metro, RED, GREEN

use_metro()
pd.options.display.float_format = "{:,.1f}".format
REGION_COLORS = {"GCC": GREEN, "Non-GCC": RED}

df = load_trade()
fy = full_years(df)

1. Leading partners by trade type

def partner_table(trade_type, n=10):
    sub = fy[fy["trade_type"] == trade_type]
    out = sub.groupby(["country_name", "region"])["price_bhd"].sum().rename("value").reset_index()
    out["share_%"] = out["value"] / out["value"].sum() * 100
    out["value_bhd_m"] = to_millions(out["value"])
    return out.nlargest(n, "value")[["country_name", "region", "value_bhd_m", "share_%"]].reset_index(drop=True)

top_import_partners = partner_table("import")
top_import_partners
country_name region value_bhd_m share_%
0 CHINA Non-GCC 4,067.5 14.0
1 BRAZIL Non-GCC 2,836.3 9.8
2 AUSTRALIA Non-GCC 2,511.3 8.7
3 UNITED ARAB EMIRATES GCC 2,406.3 8.3
4 SAUDI ARABIA GCC 1,780.9 6.1
5 UNITED STATES OF AMERICA Non-GCC 1,764.0 6.1
6 INDIA Non-GCC 1,501.5 5.2
7 JAPAN Non-GCC 1,184.1 4.1
8 GERMANY Non-GCC 938.7 3.2
9 UNITED KINGDOM Non-GCC 876.5 3.0
top_export_partners = partner_table("export")
top_export_partners
country_name region value_bhd_m share_%
0 SAUDI ARABIA GCC 4,534.5 21.7
1 UNITED STATES OF AMERICA Non-GCC 2,326.2 11.2
2 UNITED ARAB EMIRATES GCC 2,086.6 10.0
3 NETHERLANDS Non-GCC 1,030.6 4.9
4 EGYPT Non-GCC 825.2 4.0
5 INDIA Non-GCC 800.6 3.8
6 SULTANATE OMAN GCC 722.6 3.5
7 ITALY Non-GCC 602.4 2.9
8 ALGERIA Non-GCC 593.0 2.8
9 TURKEY Non-GCC 564.4 2.7
top_reexport_partners = partner_table("re-export")
top_reexport_partners
country_name region value_bhd_m share_%
0 UNITED ARAB EMIRATES GCC 1,164.3 30.8
1 SAUDI ARABIA GCC 846.6 22.4
2 SINGAPORE Non-GCC 268.7 7.1
3 HONG KONG Non-GCC 179.7 4.7
4 UNITED STATES OF AMERICA Non-GCC 100.9 2.7
5 KUWAIT GCC 92.9 2.5
6 FRANCE Non-GCC 87.3 2.3
7 GERMANY Non-GCC 78.0 2.1
8 UNITED KINGDOM Non-GCC 77.2 2.0
9 COUNTRIES AND TERRITORIES NOT SPECIFIED FOR CO... Non-GCC 75.6 2.0
temp = top_import_partners.copy()
temp["country_name"] = temp["country_name"].str.title()

fig = px.bar(
    temp,
    x="share_%",
    y="country_name",
    color="region",
    orientation="h",
    text_auto=".1f",
    color_discrete_map=REGION_COLORS,
)

fig.update_layout(
    title="Top 10 Import Suppliers, 2021–2025",
    xaxis_title="Share of Value (%)",
    yaxis_title="Country",
    legend_title_text="Region"
)

fig.update_yaxes(categoryorder="total ascending")

fig.show()
temp = top_export_partners.copy()
temp["country_name"] = temp["country_name"].str.title()

fig = px.bar(
    temp,
    x="share_%",
    y="country_name",
    color="region",
    orientation="h",
    text_auto=".1f",
    color_discrete_map=REGION_COLORS,
)

fig.update_layout(
    title="Top 10 Export Destinations, 2021–2025",
    xaxis_title="Share of Value (%)",
    yaxis_title="Country",
    legend_title_text="Region"
)

fig.update_yaxes(categoryorder="total ascending")

fig.show()

2. Partner concentration

def hhi(sub):
    shares = sub.groupby("country_name")["price_bhd"].sum()
    shares = shares / shares.sum() * 100
    return pd.Series({
        "partners": len(shares),
        "top_1_%": shares.nlargest(1).sum(),
        "top_5_%": shares.nlargest(5).sum(),
        "top_10_%": shares.nlargest(10).sum(),
        "HHI": (shares ** 2).sum(),
    })

concentration = fy.groupby("trade_type").apply(hhi, include_groups=False)
concentration
partners top_1_% top_5_% top_10_% HHI
trade_type
export 171.0 21.7 51.8 67.5 830.0
import 247.0 14.0 46.9 68.5 611.5
re-export 168.0 30.8 67.7 78.5 1,572.9

3. Stability of the main partners

Annual value for the ten largest partners across all trade types combined.

top_partners = fy.groupby("country_name")["price_bhd"].sum().nlargest(10).index
partner_year = (
    fy[fy["country_name"].isin(top_partners)]
    .pivot_table(index="country_name", columns="year", values="price_bhd", aggfunc="sum")
    .reindex(top_partners)
)
partner_year = partner_year / 1e6
partner_year.index = partner_year.index.str.title()

fig = px.imshow(
    partner_year,
    text_auto=".0f",
    aspect="auto",
    title="Top 10 Partners: Annual Trade Value, All Trade Types (BHD m)",
    labels={
        "x": "Year",
        "y": "Country",
        "color": "BHD m"
    }
)

fig.update_xaxes(type="category")

fig.show()

4. Case study: imports from China

China is the largest import supplier by value. The products below show what that dependence consists of.

china = fy[(fy["country_name"] == "CHINA") & (fy["trade_type"] == "import")]
china_products = china.groupby("commodity_name")["price_bhd"].agg(value="sum", records="size")
china_products["value_bhd_m"] = china_products["value"] / 1e6
china_products["share_of_china_pct"] = china_products["value"] / china_products["value"].sum() * 100
china_products = china_products.nlargest(10, "value")[["value_bhd_m", "share_of_china_pct", "records"]]
print(f"Distinct products imported from China: {china['commodity_no'].nunique():,}")
china_products
Distinct products imported from China: 5,800
value_bhd_m share_of_china_pct records
commodity_name
SMARTPHONES 315.5 7.8 44
PITCH COKE 213.1 5.2 54
PORTABLE DIGITAL AUTOMATIC DATA PROCESSING MACHINES, WEIGHING NOT MORE THAN 10 KG CONSISTING OF AT LEAST A CENTRAL PROCESSING UNIT, A KEYBOARD AND A DISPLAY (PERSONAL COMPUTER) 136.6 3.4 60
OTHER SILICON 109.0 2.7 60
TELEPHONES FOR CELLULAR NETWORKS OR FOR OTHER WIRELESS NETWORKS 102.3 2.5 17
JEEPS, CURRENT, SPARK IGNITION, 1501 TO 3000 CC 89.6 2.2 58
OTHER ELECTRICAL APPARATUS FOR LINE TELEPHONY OR LINE TELEGRAPHY 81.3 2.0 60
AIR CONDITIONING MACHINES OF A CAPACITY 70,000 BTU OR LESS  , WINDOW OR WALL TYPES, SELF-CONTAINED 73.2 1.8 60
OTHER ELECTRODES 71.2 1.8 52
PRIVATE CARS, CURRENT, SPARK IGNITION, 1001 TO 1500 CC 58.1 1.4 59
temp = china_products.reset_index()
temp["commodity_name"] = temp["commodity_name"].str.title().str.slice(0, 45)

fig = px.bar(
    temp,
    x="value_bhd_m",
    y="commodity_name",
    orientation="h",
    text_auto=".0f",
)

fig.update_layout(
    title="Top 10 Products Imported from China, 2021–2025",
    xaxis_title="Value (BHD m)",
    yaxis_title="Commodity",
)

fig.update_traces(marker_color=RED)
fig.update_yaxes(categoryorder="total ascending")

fig.show()

5. GCC and non-GCC partners

GCC partners (Saudi Arabia, UAE, Kuwait, Oman, Qatar) are reachable overland via the King Fahd Causeway or by short sea routes inside the Gulf. Most other partners ship through the Strait of Hormuz. This distinction becomes central in notebook 07.

region_share = fy.pivot_table(index="trade_type", columns="region", values="price_bhd", aggfunc="sum")
region_share = region_share.div(region_share.sum(axis=1), axis=0) * 100   # % of each trade type
region_share
region GCC Non-GCC
trade_type
export 38.8 61.2
import 16.6 83.4
re-export 59.1 40.9
region_monthly = (
    df.groupby(["date", "trade_type", "region"])["price_bhd"]
    .sum()
    .reset_index()
)
region_monthly["value_bhd_m"] = region_monthly["price_bhd"] / 1e6
fig = px.line(
    region_monthly,
    x="date",
    y="value_bhd_m",
    color="region",
    facet_row="trade_type",
    color_discrete_map=REGION_COLORS,
)

fig.update_layout(
    title="Monthly Trade Value by Region and Trade Type, 2021–2026",
    xaxis_title="Date",
    legend_title_text="Region",
    height=800
)

fig.update_yaxes(matches=None, title_text="BHD m")   # each trade type gets its own scale

fig.show()

6. Supplier unit values for the two largest imports

For a homogeneous product, differences in BHD/kg between suppliers indicate price differences (or quality and contract differences). This is relevant when evaluating alternative suppliers.

key_products = {"28182000": "Alumina", "26011100": "Iron ore"}
unit = (
    fy[(fy["trade_type"] == "import") & fy["commodity_no"].astype(str).isin(key_products)]
    .groupby(["commodity_no", "country_name"])[["price_bhd", "weight_kg"]].sum()
    .reset_index()
)
unit["product"] = unit["commodity_no"].astype(str).map(key_products)
unit["share_%"] = unit["price_bhd"] / unit.groupby("product")["price_bhd"].transform("sum") * 100
unit["bhd_per_tonne"] = unit["price_bhd"] / unit["weight_kg"] * 1000
unit = unit[unit["share_%"] >= 0.5].sort_values(["product", "share_%"], ascending=[True, False])
unit[["product", "country_name", "share_%", "bhd_per_tonne"]].reset_index(drop=True)
product country_name share_% bhd_per_tonne
0 Alumina AUSTRALIA 96.4 154.8
1 Alumina SAUDI ARABIA 2.2 144.6
2 Alumina BRAZIL 0.8 196.2
3 Alumina INDONESIA 0.5 198.8
4 Iron ore BRAZIL 78.7 50.3
5 Iron ore CHILE 9.6 49.1
6 Iron ore CANADA 9.2 51.1
7 Iron ore SWEDEN 2.1 69.1

Findings

  1. Import suppliers. China is the largest supplier (14.0% of import value, 2021–2025), followed by Brazil (9.8%), Australia (8.7%), the UAE (8.3%) and Saudi Arabia (6.1%). Brazil and Australia rank highly almost entirely because of single products: iron ore and alumina respectively (§6).
  2. Export markets. Saudi Arabia is the largest domestic export market (21.7%), followed by the USA (11.2%) and the UAE (10.0%). Re-exports are strongly regional: the UAE (30.8%) and Saudi Arabia (22.4%) together take over half.
  3. Low concentration across partners overall. Imports (HHI 612) and domestic exports (HHI 830) are unconcentrated by partner, and the ten largest partners account for about two thirds of value. Re-exports are moderately concentrated (HHI 1,573). Overall dependence on any one country is therefore limited. Concentration at the product level, however, is high (notebook 07).
  4. China supplies breadth, not one product. Bahrain imported 5,800 distinct products from China. The largest, smartphones, is only 7.8% of the China total, followed by pitch coke (5.2%), an input to aluminium smelting.
  5. Imports come overwhelmingly from outside the GCC. Non-GCC partners supply 83.4% of import value and buy 61.2% of domestic exports, while GCC partners take 59.1% of re-exports. Most import supply therefore depends on routes through the Strait of Hormuz. In March 2026 non-GCC import value dropped sharply, while GCC imports dipped and then recovered within weeks (examined in notebook 07).
  6. The two largest imports each depend on one supplier. Australia supplied 96.4% of alumina in 2021–2025 and Brazil 78.7% of iron ore. Alternative suppliers were few and small, but their unit values were comparable. Saudi alumina cost about 145 BHD/t against 155 BHD/t for Australian alumina, and Chilean and Canadian iron ore cost about 49–51 BHD/t against 50 BHD/t for Brazilian ore. Price therefore did not prevent diversification of supply.