JobHalalJobHalalGuide to halal employment
Home › Types of work › IT and haram projects

Halal IT Work and Unlawful Projects: Measuring Your Involvement

Halal IT work depends less on the technology than on the project it serves. A developer, administrator or freelancer assigned to a betting site, an interest-based lender or an adult platform can assess their involvement through four levels, from core features to general-purpose tools.

IT professional assessing a client project

Digital jobs are, by their nature, at the service of other sectors. A developer, system administrator or data consultant may therefore find themselves, without having chosen it, working for a betting site, an adult content platform, a consumer credit lender or a loan comparison site. For a Muslim professional, the question is not whether IT is lawful, but how to assess their own involvement in the projects they are given.

A method exists for measuring that involvement, illustrated by common cases in IT services firms, freelancing and in-house teams. The opinions cited are those commonly expressed by scholars; a personal case deserves the insight of a qualified scholar.

Why halal IT work is a special case

Software generally has no nature of its own: the same database can serve a hospital or a casino. Scholars therefore apply the classical criteria for indirect contribution, explained in the distinction between direct and indirect participation: how specific the tool is, knowledge of its use, intention and proportion. Two factors complicate the analysis: projects change quickly, and an employee of a services company does not always choose their clients.

Four levels of involvement

1. The core of the forbidden activity

Writing the odds algorithm for a betting site, designing the subscription funnel for a pornographic site, developing the interest calculation engine for revolving credit: here the work is specific to what is forbidden. The majority position is to turn down this kind of assignment.

2. Dedicated features

The deposit module of an online casino, a player acquisition campaign, the application interface for a loan: without being the forbidden act itself, these features have no use other than serving it. Many scholars treat them like the first level.

3. Generic infrastructure for a problematic client

Maintaining servers, securing a network or migrating an email system for a gambling operator is a neutral service provided to a company whose activity is unlawful. Opinions differ: some scholars advise avoiding these clients where possible, while others consider the contribution too remote.

4. The general-purpose tool

Developing accounting software, a CMS or a hosting service sold to everyone, some of whose users will put it to forbidden use, is not generally held against its creator. Responsibility for misuse lies with the person who misuses it.

Common cases

  • Banking and insurance: an assignment on a mobile app for viewing accounts is different from one on the credit approval engine. The banking context is developed in conventional banking and riba.
  • Gambling: publishers of casino and betting software are specifically linked to what is forbidden; see jobs in gambling and betting.
  • Adult content: scholars unanimously consider distributing this kind of content unlawful; contributing to it technically in a dedicated way is also unlawful.
  • Programmatic advertising: an engineer on a general advertising platform does not control the ads; a role specifically responsible for the alcohol or betting segment raises more questions.
  • Artificial intelligence: training a general-purpose model does not raise the same question as optimising it to maximise players' stakes.

Employee, IT services firm or freelancer: different room for manoeuvre

A freelancer chooses their clients and can set ethical criteria in their terms and conditions. An employee of an IT services company can express a preference about assignments, but the employer is not always obliged to accept it. In France, refusing an assignment provided for in the contract can have consequences; in the UK, too, a religious objection does not automatically protect an employee who refuses contractual duties. The framework is explained in refusing an assignment on religious grounds. In every case, it is better to raise the subject early and tactfully, suggesting other projects.

Cloud, open source and subcontracting: the grey zones

Modern IT work is rarely a straight line from developer to client. A team may work on an open-source library that a casino later adopts, maintain a cloud platform used by hundreds of customers, or deliver a component as a subcontractor without knowing the final use. In such cases, scholars generally look at what the contributor knows, how specific the work is and whether the client is identifiable. A general-purpose component that anyone can use is treated differently from a tool built for one prohibited activity.

Subcontracting adds distance, but not always enough to settle the question. If you learn during a project that the end client is a gambling operator, the new knowledge changes the analysis, and many advisers suggest raising the matter with the project lead rather than quietly continuing. Contracts with subcontractors and agencies can include a clause about clients or content categories that you decline to work on, which avoids misunderstandings later.

Advertising, data and content moderation

Companies that gather user data or run advertising platforms often serve a mix of sectors. An engineer building a general ad auction or a recommendation system does not choose each campaign, but a role dedicated to targeting alcohol, betting or adult audiences is closer to the prohibited activity. The same logic applies to analysts who produce reports for such clients: the more specific the task, the greater the concern raised by scholars.

Content moderation and trust-and-safety jobs are a distinct case. Reviewing images or text in order to remove harmful material is a protective activity, and many scholars see it as a service, but exposure to explicit content can have a personal and psychological cost. Anyone considering such a job should ask about support, rotation and the exact tasks, and consult a scholar about what is permitted in their circumstances.

Talking to your employer and recording the arrangement

When a concern arises, the practical sequence matters. Start by clarifying facts: who is the client, what is the exact task, and what portion of your time does it take. Then raise the point calmly with your manager, without lecturing, proposing alternatives such as taking a different module or exchanging a task with a colleague. Keep the request short and professional, because a halal livelihood is built on honest, courteous dealing with colleagues, and focus on the work rather than on theology.

If an arrangement is agreed, confirm it in writing, even in a brief email. Verbal understandings fade when managers change. If the employer refuses and the task is part of your contract, consider the legal risks before declining and seek advice from a trade union, an employment adviser or a qualified lawyer. Where continuing is not possible, plan the transition, keep your skills current and look for roles with fewer conflicts.

Building a portfolio for halal-friendly employers

A freelance or in-house developer can make ethical choices easier by building a portfolio in sectors that raise no such questions: healthcare software, education platforms, logistics, e-commerce, accessibility tools, public services and apps for community organisations. Open-source contributions and personal projects show skills without depending on a controversial client, and they help recruiters see what you can do.

It also helps to join professional communities, attend meet-ups and keep an eye on companies that openly build products for Muslim consumers, from prayer and zakat apps to halal food platforms. Over time, a reputation for reliable work gives you room to choose assignments, and halal-minded employers who value the person rather than only the billing rate will usually accommodate reasonable requests.

Is the assignment halal? Assessing it before accepting

  1. Who is the end client and what is their main activity?
  2. Does the requested feature serve only the forbidden activity?
  3. Could my work be reused for a lawful client?
  4. What share of my time does the assignment represent?
  5. Can I be assigned elsewhere without major harm to the team?

Halal career paths in IT

The digital sector offers many paths free of such dilemmas: online education, healthcare, industry, public administration, e-commerce and apps for charities and community groups. Islamic fintech and halal technology platforms are also looking for developers, product specialists and security experts. Building a reputation in these segments makes it possible, over time, to choose your projects more freely.

The two reference lists

Sources and resources