Let $$S_n$$
S
n
and $$A_{n}$$
A
n
denote the symmetric and alternating group on the set $$\{1,\ldots ,n\},$$
{
1
,
…
,
n
}
,
respectively. In this paper we are interested in the second largest eigenvalue $$\lambda _{2}(\Gamma )$$
λ
2
(
Γ
)
of the Cayley graph $$\Gamma =\mathrm{Cay}(G,H)$$
Γ
=
Cay
(
G
,
H
)
over $$G=S_{n}$$
G
=
S
n
or $$A_{n}$$
A
n
for certain connecting sets H. Let $$1<k\le n$$
1
<
k
≤
n
and denote the set of all k-cycles in $$S_{n}$$
S
n
by C(n, k). For $$H=C(n,n)$$
H
=
C
(
n
,
n
)
we prove that $$\lambda _{2}(\Gamma )=(n-2)!$$
λ
2
(
Γ
)
=
(
n
-
2
)
!
(when n is even) and $$\lambda _{2}(\Gamma )=2(n-3)!$$
λ
2
(
Γ
)
=
2
(
n
-
3
)
!
(when n is odd). Further, for $$H=C(n,n-1)$$
H
=
C
(
n
,
n
-
1
)
we have $$\lambda _{2}(\Gamma )=3(n-3)(n-5)!$$
λ
2
(
Γ
)
=
3
(
n
-
3
)
(
n
-
5
)
!
(when n is even) and $$\lambda _{2}(\Gamma )=2(n-2)(n-5) !$$
λ
2
(
Γ
)
=
2
(
n
-
2
)
(
n
-
5
)
!
(when n is odd). The case $$H=C(n,3)$$
H
=
C
(
n
,
3
)
has been considered in Huang and Huang (J Algebraic Combin 50:99–111, 2019). Let $$1\le r<k<n$$
1
≤
r
<
k
<
n
and let $$C(n,k;r) \subseteq C(n,k)$$
C
(
n
,
k
;
r
)
⊆
C
(
n
,
k
)
be set of all k-cycles in $$S_{n}$$
S
n
which move all the points in the set $$\{1,2,\ldots ,r\}.$$
{
1
,
2
,
…
,
r
}
.
That is to say, $$g=(i_{1},i_{2},\ldots ,i_{k})(i_{k+1})\dots (i_{n})\in C(n,k;r)$$
g
=
(
i
1
,
i
2
,
…
,
i
k
)
(
i
k
+
1
)
⋯
(
i
n
)
∈
C
(
n
,
k
;
r
)
if and only if $$\{1,2,\ldots ,r\}\subset \{i_{1},i_{2},\ldots ,i_{k}\}.$$
{
1
,
2
,
…
,
r
}
⊂
{
i
1
,
i
2
,
…
,
i
k
}
.
Our main result concerns $$\lambda _{2}(\Gamma )$$
λ
2
(
Γ
)
, where $$\Gamma =\mathrm{Cay}(G,H)$$
Γ
=
Cay
(
G
,
H
)
with $$H=C(n,k;r)$$
H
=
C
(
n
,
k
;
r
)
with $$1\le r<k<n$$
1
≤
r
<
k
<
n
when $$G=S_{n}$$
G
=
S
n
if k is even and $$G=A_{n}$$
G
=
A
n
if k is odd. Here we observe that $$\begin{aligned} \lambda _{2}(\Gamma )\ge (k-2)! {n-r \atopwithdelims ()k-r} \frac{1}{n-r} \big ((k-1)(n-k) - \frac{(k-r-1)(k-r)}{n-r-1}\big ). \end{aligned}$$
λ
2
(
Γ
)
≥
(
k
-
2
)
!
n
-
r
k
-
r
1
n
-
r
(
(
k
-
1
)
(
n
-
k
)
-
(
k
-
r
-
1
)
(
k
-
r
)
n
-
r
-
1
)
.
We prove that this bound is attained in the special case $$k=r+1$$
k
=
r
+
1
, giving $$\lambda _{2}(\Gamma )=r!(n-r-1)$$
λ
2
(
Γ
)
=
r
!
(
n
-
r
-
1
)
. The cases with $$H=C(n,3;1)$$
H
=
C
(
n
,
3
;
1
)
and $$H=C(n,3;2)$$
H
=
C
(
n
,
3
;
2
)
were considered earlier in [6].