Interior Minister Sheikh Mohammad Khaled al-Sabah said the legislation was needed to boost security and prevent crimes, assuring lawmakers that individual privacy will not be compromised.
During debate of the bill, MP Abdullah al-Turaiji said "we do not rule out the possibility that those who carried out the suicide attacks in Saudi Arabia may have people in Kuwait," to two suicide attacks last month in the neighbouring country.
Parliament also adopted on a final vote legislation stipulating 10-year jail terms and fines of up to USD 165,000 for online crimes, especially those related to terrorism, despite warnings that this could undermine freedom.
The vote was 33 in favour, including cabinet ministers, with 12 opposed and one abstention.
More From This Section
It stipulates a 10-year sentence for creating a website for a "terrorist" group or publishing news about the group on the Internet that aims to raise funds.
The same penalty applies to money laundering and publishing how to manufacture explosives or other tools that can be used in attacks.
Justice Minister Yacoub al-Sane defended the law as being in line with international standards.
The lowest penalty would be a six-month sentence and a USD 6,600 fine for illegally "infiltrating a computer or an electronic network".
Kuwaiti courts have handed down prison sentences to several opposition activists, former lawmakers and Twitter users for remarks deemed insulting to the emir or on other charges.