Influence maximization, whose aim is to maximise the expected number of influenced nodes by selecting a seed set of k influential nodes from a social network, has many applications such as goods advertising and rumour suppression. Among the existing influence maximization methods, the community‐based ones can achieve a good balance between effectiveness and efficiency. However, this kind of algorithm usually utilise the network community structures by viewing each node as a non‐overlapping node. In fact, many nodes in social networks are overlapping ones, which play more important role in influence spreading. To this end, an overlapping community‐based particle swarm optimization algorithm named OCPSO for influence maximization in social networks, which can make full use of overlapping nodes, non‐overlapping nodes, and their interactive information is proposed. Specifically, an overlapping community detection algorithm is used to obtain the information of overlapping community structures, based on which three novel evolutionary strategies, such as initialisation, mutation, and local search are designed in OCPSO for better finding influential nodes. Experimental results in terms of influence spread and running time on nine real‐world social networks demonstrate that the proposed OCPSO is competitive and promising comparing to several state‐of‐the‐arts (e.g. CGA, CMA‐IM, CIM, CDH‐SHRINK, CNCG, and CFIN).